Raised This Month: $ Target: $400
 0% 

MySQL syntax error - single quote `


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fcastro16
Member
Join Date: Mar 2009
Old 03-11-2014 , 10:56   MySQL syntax error - single quote `
Reply With Quote #1

This line is giving me an error:
PHP Code:
formatex(szQuerycharsmax(szQuery), "REPLACE INTO `cuentas` ( `nick`, `steamID`, `frags`, `nivel` ) VALUES ( ^"%s^", ^"%s^", '%d', '%d' );"SZ_NameSZ_SteamIDg_frags[id], g_level[id] ); 
To my understanding, the ^"%s^" should make it work, but I keep the following error.

Quote:
L 03/11/2014 - 09:548: [gdlcuentasv2.amxx] 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 ''' at line 1
L 03/11/2014 - 09:55:04: [gdlcuentasv2.amxx] 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 ''' at line 1

Last edited by fcastro16; 03-11-2014 at 11:01.
fcastro16 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode