If I execute an insert query with a stored procedure with php and the mysqli_* functions, is there a way to retrieve the value of an autoincrement id field?
mysqli->insert_id does not seem to work.
If I execute an insert query with a stored procedure with php and the
Share
Are you sure the last query you preformed was an INSERT?
mysqli->insert_idseems the proper answer: