#4

Quote:
Originally Posted by HardRock
Посмотреть сообщение
PHP код:
format(querysizeof(query), "UPDATE players SET Age = %d WHERE Name = '%s'"inputtextName(playerid)); 
//Edit: And remove....

PHP код:
mysql_real_escape_string(inputtextEscAge); 
I will try it.
EDIT: Oops, I copy-pasted another function, so instead of checking if the entered value is suitable (between 18 and 80) I'm checking the lenght of the entered value and I have to enter 18 characters long value to make it work.
Reply


Messages In This Thread
Age - by Wizzy951 - 17.11.2013, 20:14
Re: Age - by HardRock - 17.11.2013, 20:19
Re: Age - by Ardendshy - 17.11.2013, 20:32
Re: Age - by Wizzy951 - 17.11.2013, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)