php - mysql_insert_id() always returning 0 after successfully inserting the values -



php - mysql_insert_id() always returning 0 after successfully inserting the values -

i have defined column auto increment.and have inserted value mysql database. values updated successfully. after inserting need lastly inserted id. using using mysql_insert_id lastly auto incremented value.but returning 0 always.

php mysql

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -