Raised This Month: $ Target: $400
 0% 

Teh Fears of MySQL


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-21-2005 , 19:18   Teh Fears of MySQL
Reply With Quote #1

Code:
new authid[32], vaultstring[256];   new query[256]     get_user_authid(id,authid,31)             if (mySql == SQL_OK) {         new savewages, savemoney, savebank, savepayroll         new savejob[32]         savewages = employedwages[id]         savemoney = usermoney[id]         savebank = userbank[id]         savepayroll = employedpayroll[id]         format(savejob,31,"%s",employedjob[id])                     format(query,255,"UPDATE economy SET wages=%i WHERE steamid = %s",savewages,authid);     result = dbi_query(mySql,query);     dbi_free_result ( result )         format(query,255,"UPDATE economy SET money=%i WHERE steamid = %s",savemoney,authid);     result = dbi_query(mySql,query);     dbi_free_result ( result )          format(query,255,"UPDATE economy SET bank=%i WHERE steamid = %s",savebank,authid);     result = dbi_query(mySql,query);     dbi_free_result ( result )         format(query,255,"UPDATE economy SET job='%s' WHERE steamid = %s",savejob,authid);     result = dbi_query(mySql,query);     dbi_free_result ( result )         format(query,255,"UPDATE economy SET companyroll=%i WHERE steamid = %s",savepayroll,authid);     result = dbi_query(mySql,query);     dbi_free_result ( result )

anyone see wtf is wrong with this? its like, not makign changes to the mysql database.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode