last_insert_id and mysql_insert_id
#2

You should not reuse primary key indexes when deleting elements. It won't update anything, only return the ID of last element inserted ( http://dev.mysql.com/doc/refman/5.0/...last-insert-id mroe info)
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)