mysql error

From: Date: Wed, 14 Aug 2002 04:23:43 +0000
Subject: mysql error
Groups: php.general 
Request: Send a blank email to php-general+get-112477@lists.php.net to get a copy of this message
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', paragraph='$paragraph' WHERE page_name='$page_name' AND par_id='$par_id' ") or die ('Error submiting paragraph.'. mysql_error()); - Vic ______________________________________________________________________ Post your ad for free now! http://personals.yahoo.ca

« previous php.general (#112477) next »