insert into problems.

From: Date: Tue, 04 Sep 2001 00:35:11 +0000
Subject: insert into problems.
Groups: php.general 
Request: Send a blank email to php-general+get-65808@lists.php.net to get a copy of this message
Can someone tell me whats wrong with this... im getting a " Syntax error in INSERT INTO statement "... but i cant find anything wrong with the sql code., or have i missed something..? <? $text = "yadayada"; $date= "today..."; $connectionstring = odbc_connect("MYSKODB", "Sa", ""); odbc_do($connectionstring, "INSERT INTO lappar (text,datum) VALUES ('$text','$date')"); odbc_close($connectionstring); ?> /martin

« previous php.general (#65808) next »