mysql_insert_id() always returns 0.
#1

For some reason, mysql_insert_id() always returns 0.
Why? I am using the R7 plugin of BlueG.
Reply
#2

You need to use that after an insert statement. You can only use that inside of the callback which is specified in mysql_function_query.
Reply
#3

Got it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)