it appears that my function should work...
can any one tell me the bug(s) of my noob script. It suppose to change the varaibles you see then in a mysql database. The function is called by a menu with jobchange(id,"Bellboy", "6");. the mysql database has a job column that corresponds with an authid colum.
Code:
|
In SQL, strings must be enclosed in single quotes.. You have done this for SteamID, but not for Job... Also, you have an extra comma in there, syntax error..
Change: Code:
UPDATE money SET job=%s,WHERE steamid='%s'Code:
UPDATE money SET job='%s' WHERE steamid='%s'Also, you could combine both of your queries into: Code:
Maybe that helps!! |
nothin
ok i expanded my plugin to this....
Code:
The problem is IT KEEPS SAYING THAT U DONT HAVE $250 WHEN U DO! someone plz help! plz plz plz plz plz plz plz plz plz plz |
| All times are GMT -4. The time now is 17:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.