MySQL not working?
#8

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
pawn Код:
format(query, 500, "UPDATE 'playerdata' SET money = %d WHERE user='%s'", pInfo[playerid][pName]);
pawn Код:
format(query, 500, "UPDATE 'playerdata' SET money = %d WHERE user='%s'", pInfo[playerid][pMoney], pInfo[playerid][pName]);
Put that in there, still does not work. However, I tested out the queries in phpmyadmin and they work.

EDIT: To clarify, I did not get the script to update the MySQL tables. However, if I manually enter the query within phpmyadmin, they work. Just not within the script.
Reply


Messages In This Thread
MySQL not working? - by BittleRyan - 26.03.2013, 23:24
Re: MySQL not working? - by Frede - 26.03.2013, 23:37
Re: MySQL not working? - by BittleRyan - 26.03.2013, 23:44
Re: MySQL not working? - by Frede - 26.03.2013, 23:52
Re: MySQL not working? - by kamzaf - 27.03.2013, 00:39
Re: MySQL not working? - by BittleRyan - 27.03.2013, 01:19
Re: MySQL not working? - by [ABK]Antonio - 27.03.2013, 01:23
Re: MySQL not working? - by BittleRyan - 27.03.2013, 01:38

Forum Jump:


Users browsing this thread: 2 Guest(s)