note 7330 deleted from mysql_query by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:34:22 +0000 |
| Subject: | note 7330 deleted from mysql_query by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1713@lists.php.net to get a copy of this message | ||
Trying to insert record into table:<BR>
$res = mysql_query("INSERT INTO table VALUES('sometext',1)");<BR>
Got the following message:<BR>
Warning: MySQL: Unable to save record set in file <fielname.php> on line #<BR>
$res equals to false, mysql_errno()
returns 0<BR>and mysql_affected_rows()returns 0 too. ;-<BR>BUT record was inserted
successfully! ;-[ ]<BR>What the hell? Anyone knows the solution?<BR>Thanks in
advance!<BR>