note 7928 deleted from mysql_insert_id by danbeck

From: Date: Thu, 07 Sep 2000 16:17:32 +0000
Subject: note 7928 deleted from mysql_insert_id by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4395@lists.php.net to get a copy of this message
This seems to have just appeared in PHP4 pl2 though perhaps it is library dependent. Anyways, contrary to the docs, with PHP4 running mysql_insert_id($result) always gives an invalid link identifier warning when passed the result from the previous query. If you leave the link identifier out then it works fine. This is contrary to what the docs suggest - they say both should be fine and really, for safety I think you should always expressly be passing a link identifier.

« previous php.notes (#4395) next »