[CSGO] MySQL Insert error
hello i have error:
Code:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''76561198338686774' at line 1 Code:
char Query[128]; Sorry 4 my bad english |
Re: [CSGO] MySQL Insert error
The first step to find errors in a query is to take a look at it. Use
PHP Code:
PHP Code:
|
Re: [CSGO] MySQL Insert error
As a heads up, you probably will want to use threaded queries instead of regular queries. More info here: https://wiki.alliedmods.net/SQL_(SourceMod_Scripting)
EDIT: I know this doesn't have to do with the issue you're having, but threaded queries are a lot better to run. |
Re: [CSGO] MySQL Insert error
Probably you should escaping 'code' if you don't escape
|
Re: [CSGO] MySQL Insert error
try
Code:
char Query[256]; |
All times are GMT -4. The time now is 09:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.