Problem with SQL query
#3

Quote:
Originally Posted by SymonClash
Посмотреть сообщение
What you mean with "i cant get it to work"?

Also you should escape strings, use %e instead of %s.
Thats SQLite not MySQL. %e not working with format but there is %q

OP: You need to use ' for strings

PHP код:
format(querysizeof(query), "UPDATE admins SET Name = '%q' WHERE Slot = %d"GetName(id),slot); 
Reply


Messages In This Thread
Problem with SQL query - by Dolke - 18.03.2019, 17:44
Re: Problem with SQL query - by SymonClash - 18.03.2019, 20:49
Re: Problem with SQL query - by Banditul18 - 18.03.2019, 20:53
Re: Problem with SQL query - by Dolke - 19.03.2019, 05:59
Re: Problem with SQL query - by Banditul18 - 19.03.2019, 15:13
Re: Problem with SQL query - by Dolke - 19.03.2019, 20:21
Re: Problem with SQL query - by Dolke - 21.03.2019, 23:57

Forum Jump:


Users browsing this thread: 1 Guest(s)