How to escape string
#6

So can I replace this:
HTML Code:
format(saveQuery, sizeof(saveQuery), "UPDATE playeraccounts SET playerPhoneBook = '%d', playerName = '%s' WHERE playerID = '%d'",
			PlayerVar[playerid][pPhoneBook],PlayerVar[playerid][pName], PlayerVar[playerid][pID]);
		mysql_tquery(handle,saveQuery);
with it?
HTML Code:
format(saveQuery, sizeof(saveQuery), "UPDATE playeraccounts SET playerPhoneBook = '%e', playerName = '%e' WHERE playerID = '%e'",
			PlayerVar[playerid][pPhoneBook],PlayerVar[playerid][pName], PlayerVar[playerid][pID]);
		mysql_tquery(handle,saveQuery);
Reply


Messages In This Thread
How to escape string - by Nin9r - 16.06.2016, 09:49
Re: How to escape string - by Sime30 - 16.06.2016, 09:56
Re: How to escape string - by Sjn - 16.06.2016, 09:57
Re: How to escape string - by Nin9r - 16.06.2016, 10:00
Re: How to escape string - by Sjn - 16.06.2016, 10:02
Re: How to escape string - by Nin9r - 16.06.2016, 10:05
Re: How to escape string - by Sjn - 16.06.2016, 10:10
Re: How to escape string - by Nin9r - 16.06.2016, 10:12
Re: How to escape string - by Sjn - 16.06.2016, 10:19
Re: How to escape string - by Nin9r - 16.06.2016, 10:24
Re: How to escape string - by Stinged - 16.06.2016, 10:46
Re: How to escape string - by Nin9r - 16.06.2016, 11:16
Re: How to escape string - by Stinged - 16.06.2016, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)