PHP 4.0 Bug #3162 Updated: PHP4b3 - mysql_insert_id no longer accepts an arg

From: Date: Sat, 22 Jul 2000 17:30:18 +0000
Subject: PHP 4.0 Bug #3162 Updated: PHP4b3 - mysql_insert_id no longer accepts an arg
Groups: php.dev 
Request: Send a blank email to php-dev+get-25439@lists.php.net to get a copy of this message
ID: 3162 Updated by: mrobinso Reported By: xmtj@rims.com Status: Closed Bug Type: MySQL related Assigned To: Comments: mysql_insert_id() accepts the link identifier, not the result, as the parameter. $conn = mysql_connect("yada","yada","yada"); ... insert query ...; $id = mysql_insert_id($conn); If the link identifier is omitted, php assumes that last valid link. Full Bug description available at: http://bugs.php.net/?id=3162

« previous php.dev (#25439) next »