Archive

Posts Tagged ‘mysql_insert_id’

Get current AUTO_INCREMENT value – MySQL query

January 29th, 2009 No comments
Get current AUTO_INCREMENT value – MySQL query Solution is simple, use mysql_insert_id() php function. mysql_insert_id() returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE statement. Use this function after you have performed an INSERT statement into a table that contains an AUTO_INCREMENT field, ...
GoCache - ByREV-Cache v1.0 - live served in : 0.380413 sec (gzip)