homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

latest wamp does not work for mysql insert id()
latest wamp does not work for mysql_insert_id()

 4:38 am on Oct 9, 2009 (gmt 0)

Hello everybody,

Someone who knows how to fix mysql_insert_id() for latest version of wamp's php and mysql?

I had tried, the mysql_insert_id() almost return 0 value, it never return any value after INSERT INTO db.

Is it setting of php or mysql issue or other issue?

If not, someone who uses that mysql_insert_id(), it will meet problem in future.




 6:20 am on Oct 24, 2009 (gmt 0)

Are you sure you are calling it after the very last insert? ie, you aren`t calling it after another mysql operation?

I used to use Wamp, but tend to use Xampp these days as I think its much better.



 12:57 am on Oct 30, 2009 (gmt 0)

The function is also deprecated. Read the note on the PHP online manual page for preferred processes.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved