In mysql select last_insert_id() returns 0.

0 replies
Hi,
When I first insert some values in a table and then executes the last_insert_id() query ,it returns 0. That table have a auto increment field too. Can any one help me out of this. I actually tested it because, in my oscommerce website tep_db_insert_id() returns 0. Please give solution to any of the issues.

Thank you.
#lastinsertid #mysql #returns #select

Trending Topics