note 4721 deleted from mysql_affected_rows by danbeck

From: Date: Thu, 07 Sep 2000 15:06:35 +0000
Subject: note 4721 deleted from mysql_affected_rows by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4345@lists.php.net to get a copy of this message
I was getting that "-1" value from the mysql_affected_rows() as well, but then I realized that I DID have an error in my INSERT statement. I was saying INSERT INTO tblTrack colCount, colDate VALUES (1, NOW()) .... when I should have said INSERT INTO tblTrack (colCount, colDate) VALUES (1, NOW())... Maybe you have an error as simple as this too ;)

« previous php.notes (#4345) next »