SA-MP Forums Archive
How to know where is mistake - 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: How to know where is mistake (/showthread.php?tid=504607)



How to know where is mistake - audriuxxx - 05.04.2014

Hi,

Код:
MySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Karo' at line 1
How to know in what querie happin that mistake? because all errors just that...


Re: How to know where is mistake - Flake. - 05.04.2014

Код:
syntax to use near ''Karo' at line 1
Find your query that sends the name or what ever Karo is.


Re: How to know where is mistake - audriuxxx - 05.04.2014

There is a lot of different names... It's about 100 error like that, and different names.


Re: How to know where is mistake - Flake. - 05.04.2014

Well without the code we really can't help you if you don't even know where the error is yourself..


Re: How to know where is mistake - audriuxxx - 05.04.2014

But in what querie this must be? in insert something update or select?


Re: How to know where is mistake - Ari - 05.04.2014

Provide the code that creates the SQL error, or else we cannot help you.