Jump to content

Archived

This topic is now archived and is closed to further replies.

bhakti_thakkar

php for ASP@@IDENTITY

Recommended Posts

hi,
can some one please tell me how to find out the current id generated by the mysql statement i.e equivalent to @@IDENTITY in ASP

Thanks and cheers
Bhakti ThakKar

Share this post


Link to post
Share on other sites
Prehaps you want to use the mysql_insert_id() function. This function grabs the last generated id by the auto_increment field.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.