Closed nathggns closed 11 years ago
last_insert_id() is extremely buggy and can often return 0. Instead, get the id using a select statement.
last_insert_id()
0
id
last_insert_id()
is extremely buggy and can often return0
. Instead, get theid
using a select statement.