RE: [PHP] Unable to send variables to MySQL table

From: Date: Wed, 09 Nov 2005 19:36:21 +0000
Subject: RE: [PHP] Unable to send variables to MySQL table
Groups: php.general 
Request: Send a blank email to php-general+get-225460@lists.php.net to get a copy of this message
<snippity snip> > > Any ideas? The code is below. <snip snip> > mysql_query($add_to_db); Hi Stewart. Your query is failing for some reason (as others here have mentioned). I would change the above line to read: mysql_query($add_to_db) or die(mysql_error()."<br>$add_to_db"); This will make the script die, and will print the mysql error and the SQL statement that caused it. JM

« previous php.general (#225460) next »