Doesn't detect last inserted ID.[MySQL?] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Doesn't detect last inserted ID.[MySQL?] (
/showthread.php?tid=625911)
Doesn't detect last inserted ID.[MySQL?] -
vassilis - 08.01.2017
I don't even know if it's really MySQL related.
SOLVED.
Result always:
PHP код:
New door row inserted : 0
In database the inserts are correct.
Re: Doesn't detect last inserted ID.[MySQL?] -
SickAttack - 08.01.2017
The function/callback must be executed/called as shown below:
mysql_tquery(mysql, query, "DoorRegister", "");
Re: Doesn't detect last inserted ID.[MySQL?] -
vassilis - 08.01.2017
Quote:
Originally Posted by SickAttack
The function/callback must be executed/called as shown below:
mysql_tquery(mysql, query, "DoorRegister", "");
|
Thanks SA