bhakti_thakkar Posted September 12, 2006 Share Posted September 12, 2006 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 ASPThanks and cheersBhakti ThakKar Quote Link to comment https://forums.phpfreaks.com/topic/20478-php-for-aspidentity/ Share on other sites More sharing options...
wildteen88 Posted September 12, 2006 Share Posted September 12, 2006 Prehaps you want to use the mysql_insert_id() function. This function grabs the last generated id by the auto_increment field. Quote Link to comment https://forums.phpfreaks.com/topic/20478-php-for-aspidentity/#findComment-90281 Share on other sites More sharing options...
bhakti_thakkar Posted September 12, 2006 Author Share Posted September 12, 2006 Thanks wildteen88,This is what i was looking for.Goodluck and cheersBhakti Thakkar Quote Link to comment https://forums.phpfreaks.com/topic/20478-php-for-aspidentity/#findComment-90285 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.