Seems it can not be implemented on GL 2.x
Can anyone point me the right syntax for this?
$dbh->do ("INSERT INTO Links (ID,date) VALUES(NULL,CURDATE( ))");
my $new_id = $dbh->{mysql_insertid};
Before you ask me "why 2.x instead 3.x?": My company did so many changes in the code that is impossible to upgrade.
I appreciate any help.
Sara
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Blondies can have brains (sometimes...)
Can anyone point me the right syntax for this?
$dbh->do ("INSERT INTO Links (ID,date) VALUES(NULL,CURDATE( ))");
my $new_id = $dbh->{mysql_insertid};
Before you ask me "why 2.x instead 3.x?": My company did so many changes in the code that is impossible to upgrade.
I appreciate any help.
Sara
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Blondies can have brains (sometimes...)