Gossamer Forum
Quote Reply
SQL syntax help
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...)

Last edited by:

SaraBem: Mar 28, 2007, 1:21 PM
Subject Author Views Date
Thread SQL syntax help SaraBem 2642 Mar 28, 2007, 1:03 PM
Post Re: [SaraBem] SQL syntax help
tandat 2543 Mar 28, 2007, 8:35 PM
Post Re: [SaraBem] SQL syntax help
brewt 2524 Mar 29, 2007, 10:31 AM