Yes, thank you very much, I shouldn’t code late at night without any
caffeine in me.

- Vic

-----Original Message-----
From: @ Edwin [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 12:29 AM
Subject: Re: [PHP] mysql error

Looks like you're updating your table so instead of "INSERT INTO...",
"UPDATE malibu_data SET ..."


- E

>I get this error:
>Error submiting paragraph.You have an error in your SQL syntax near
>'WHERE page_name='features' AND par_id='13' ' at line 1
>But my code, I think is fine:
>// Insert the form information into the database
>       mysql_query("INSERT INTO malibu_data SET heading='$heading',
>WHERE page_name='$page_name' AND par_id='$par_id' ")
>               or die ('Error submiting paragraph.'. mysql_error());
>- Vic
>Post your ad for free now!
>PHP General Mailing List (
>To unsubscribe, visit:

ハイセンスな商品を気軽に購入 MSN ショッピング

Post your ad for free now!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to