PHP 4.0 Bug #5634: mysql_insert_id retruns 0 in php4 but works in php3
| From: | s dot benard at systemic dot fr | Date: | Mon, 17 Jul 2000 10:12:54 +0000 |
| Subject: | PHP 4.0 Bug #5634: mysql_insert_id retruns 0 in php4 but works in php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24710@lists.php.net to get a copy of this message | ||
From: s.benard@systemic.fr
Operating system: Linux Mandrake 7.02
PHP version: 4.0.1pl2
PHP Bug Type: MySQL related
Bug description: mysql_insert_id retruns 0 in php4 but works in php3
I installed both PHP3 (3.0.16) and PHP4 (4.0.1pl2) on the same server with mysql 3.22.32 on an
apache server (1.3.12).
I used the --enable-versioning so php3 and php4 work together.
when I use the mysql_insert_id function, it works fine with php3 but the same code returns nothing
with php4 on the same server...
I first thought it was misconfiguration of my server. So, I installed a second server for tests
purposes and got same results. the insertion is ok, no error messages but in php4, it returns
nothing.
don't really know if it's a bug. but don't know where this come from.
s.benard