If you're not getting the parse error anymore, I'd suggest you echo $query to the browser and check to see that the SQL statement is what you expect it to be. Can't count the number of times doing that has pointed out some stray apostrophe or comma or something that killed the query. > -----Original Message----- > From: John W. Holmes [mailto:holmes072000@xxxxxxxxxxx] > Sent: Thursday, November 20, 2003 1:09 PM > To: Dillon, John > Cc: php-db@xxxxxxxxxxxxx > Subject: Re: Parse error on array and SQL query > > > Dillon, John wrote: > > > Tried that, doesn't work with: > > > > $query="INSERT INTO ReplyTbl VALUES ('" . $monster1 . "', '" . > > $monster2 . > > "', '" . $monster3 . "', NULL, NULL)"; > > > > Don't suppose they use 'monster' as a reserved word... > > How does it "not work" again?? > > -- > ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > php|architect: The Magazine for PHP Professionals ? www.phparch.com > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php