INSER INTO not working!

From: Date: Thu, 12 May 2005 06:21:51 +0000
Subject: INSER INTO not working!
Groups: php.db 
Request: Send a blank email to php-db+get-39415@lists.php.net to get a copy of this message
Hi list, I'm trying to store a data into a two-column table (id, revision). ID is auto_increment. My table is called REV. I'm using this query: $sqlstring = "INSERT INTO REV VALUES('',$revision)"; Using that same query in mysql command line works pretty good and the row is added to the table, but is not working from my PHP page. I echo the $sqlstring variable for troubleshooting and it is correct. I'm using mysql_query($sqlstring, $link); Any ideas?? -------------------------- MIGUEL GUIRAO AGUILERA

« previous php.db (#39415) next »