mysql error [+4rep]
#5

I suggest you to use:
pawn Код:
format(string, 256, "INSERT INTO `comptes` (p_nom,p_mdp,p_email,p_origine,p_inscription_id,p_sexe) VALUES ('%s', '%s', '%s', '%d', '%s', '%d')",name, inputtext, inscription_email[playerid],inscription_origine[playerid],returnIp(playerid),inscription_sexe[playerid]);
test it ...
+ What Vince said, using mysql_escape_string is important.
Edit: No reputation received LOL Nab when your problem solved give my rep lol
Reply


Messages In This Thread
mysql error [+4rep] - by DarkZeroX - 28.04.2014, 10:05
Re: mysql error [+4rep] - by Conradus - 28.04.2014, 10:23
Re: mysql error [+4rep] - by Vince - 28.04.2014, 10:30
Re: mysql error [+4rep] - by DarkZeroX - 28.04.2014, 10:36
Re: mysql error [+4rep] - by Aliassassin123456 - 28.04.2014, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)