spraypray12 Posted April 27, 2007 Share Posted April 27, 2007 I've tested diffferent tables, and made new ones, with id set to auto_increment and still returns zero everytime. Won't work in mysql query browser, or in php script. Mysql version 4.1.20 for server Link to comment https://forums.phpfreaks.com/topic/48990-last_insert_id-returns-0/ Share on other sites More sharing options...
AndyB Posted April 28, 2007 Share Posted April 28, 2007 Do you mean mysql-insert-id? http://ca.php.net/manual/en/function.mysql-insert-id.php Link to comment https://forums.phpfreaks.com/topic/48990-last_insert_id-returns-0/#findComment-240157 Share on other sites More sharing options...
Wildbug Posted April 30, 2007 Share Posted April 30, 2007 What query/ies are you using? Link to comment https://forums.phpfreaks.com/topic/48990-last_insert_id-returns-0/#findComment-241802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.