RE: [PHP-WIN] PHP4 and MS Access
| From: | Darvin Andrioli | Date: | Tue, 20 Feb 2001 13:46:23 +0000 |
| Subject: | RE: [PHP-WIN] PHP4 and MS Access | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5650@lists.php.net to get a copy of this message | ||
Check the contents of '$tblIngress' and '$tblText', some characters , such as
' , may give you this error .
Darvin
-----Original Message-----
From: Glenn [SMTP:glenn@yeayea.com]
Sent: Tuesday, February 20, 2001 2:08 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] PHP4 and MS Access
Hallo!
I try to make an insert statment but get a ERROR msg, It looks like this
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error
in INSERT INTO statement., SQL state 37000 in SQLExecDirect in
my insert statment look like this:
/* run insert */
$result = odbc_exec($connect, "INSERT INTO content (ingress, text) VALUES
('$tblIngress', '$tblText') where id = 1");
pleas help me
Best regards
//Glenn
_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net