This line is giving me an error:
PHP Code:
formatex(szQuery, charsmax(szQuery), "REPLACE INTO `cuentas` ( `nick`, `steamID`, `frags`, `nivel` ) VALUES ( ^"%s^", ^"%s^", '%d', '%d' );", SZ_Name, SZ_SteamID, g_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
|