Bug #17049: mysql_insert_db not working

From: Date: Mon, 06 May 2002 19:34:55 +0000
Subject: Bug #17049: mysql_insert_db not working
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7070@lists.php.net to get a copy of this message
From: t.tremaine@open-for-biz.com Operating system: FreeBSD PHP version: 4.1.2 PHP Bug Type: MySQL related Bug description: mysql_insert_db not working when mysql_insert_db is used without a parameter, as in mysql_insert_db(), it seems to always return 0 instead of the primary key of the most recent insert. It works fine when the db_link is provided as a parameter. Same problem in PHP 4.0.6 running on Linux. -- Edit bug report at http://bugs.php.net/?id=17049&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17049&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17049&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17049&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17049&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17049&r=support Expected behavior: http://bugs.php.net/fix.php?id=17049&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17049&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17049&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17049&r=globals

« previous php.bugs (#7070) next »