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






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to