From:             [EMAIL PROTECTED]
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

Reply via email to