PHP 4.0 Bug #3295: MYSQL_INSERT_ID not working
| From: | arni at linux dot is | Date: | Mon, 24 Jan 2000 15:35:34 +0000 |
| Subject: | PHP 4.0 Bug #3295: MYSQL_INSERT_ID not working | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14868@lists.php.net to get a copy of this message | ||
From: arni@linux.is
Operating system: Linux
PHP version: 4.0 Beta 3
PHP Bug Type: MySQL related
Bug description: MYSQL_INSERT_ID not working
Hello,
I wrote a PHP program that uses MYSQL_INSERT_ID() function. I begun writing the program under PHP3,
but once the program was finished I upgraded my system to PHP4-b3.
Once the upgrade was complete I tried to use the program. But it wouldn't work because of a
error MYSQL_INSERT_ID() caused.
The error is the following:
Warning: Supplied argument is not a valid MySQL-Link resource in phpfile.php3 on line 35
I don't know what causes this, my code works fine in PHP3, but this error only occures when I
try to use it under PHP4-b3.
Could this be a BUG? :-)
Regards.
Arni Arent
Web Developer
Firmanet ehf.
arni@firmanet.is
http://www.firmanet.is
appel @ EFnet