PHP 4.0 Bug #3295 Updated: MYSQL_INSERT_ID not working
| From: | Bug Database | Date: | Mon, 24 Jan 2000 23:23:04 +0000 |
| Subject: | PHP 4.0 Bug #3295 Updated: MYSQL_INSERT_ID not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14895@lists.php.net to get a copy of this message | ||
ID: 3295
User Update by: arni@linux.is
Status: Open
Bug Type: MySQL related
Description: MYSQL_INSERT_ID not working
Here are the 2 lines that matter:
$querymid = @mysql_query("insert into tempmail
(userid,toaddress,cc,bcc,subject,priority,body,signature) values
('$uid','$to','$cc','$bcc','$subject','$priority','$body','$signature')");
$mailid = mysql_insert_id($querymid);
Full Bug description available at: http://bugs.php.net/?id=3295