last_insert_id and mysql_insert_id
#1

Title says it all, but what's the difference between last_insert_id and mysql_insert_id? As far as I know, is last_insert_id updates the ID and stuff Or is it the same as mysql_insert_id. I've tried mysql_insert_id once, but when I deleted a column it doesn't update the IDs when it was like 1,2,3,4 and deleted 2. But it continues with 5. I've searched about it but can't really understand it well... Need some explanation please ^_^
Reply


Messages In This Thread
last_insert_id and mysql_insert_id - by Zex Tan - 17.08.2013, 14:32
Re: last_insert_id and mysql_insert_id - by Misiur - 17.08.2013, 14:43
Re: last_insert_id and mysql_insert_id - by Zex Tan - 17.08.2013, 14:49
Re: last_insert_id and mysql_insert_id - by Misiur - 17.08.2013, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)