need help with 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: need help with mysql (
/showthread.php?tid=383510)
need help with mysql -
mineralo - 07.10.2012
what's wrong?
http://i46.tinypic.com/imul8y.jpg
I getting error :/ what do to?
Re: need help with mysql -
AndreT - 07.10.2012
If it is an AUTO_INCREMENT field, why do you pass a value to it in an INSERT query anyways? I think the problem is that you have 2 single quotes next to each other without anything in between.
Try one:
1. Put a 0 between the ''
2. Simply pass 0, not '0'
3. Don't even include the UID field in the query
If the first doesn't work, the second or third surely will