Saving usernames with '(' or ')' in mysql
#1

I've come across an issue where when a player joins with a '(' or a ')' symbol in their username, it does not register the username for some reason, how can I fix this?

pawn Код:
format(query, sizeof(query), "INSERT INTO players (user) VALUES('%s')", pname);
mysql_query(query);
Reply


Messages In This Thread
Saving usernames with '(' or ')' in mysql - by DeathTone - 01.08.2012, 06:12
Re: Saving usernames with '(' or ')' in mysql - by DeathTone - 01.08.2012, 06:28
Re: Saving usernames with '(' or ')' in mysql - by Johnson_boy - 01.08.2012, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)