Raised This Month: $ Target: $400
 0% 

Whats wrong with this SQL query?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jonatat
Senior Member
Join Date: Dec 2017
Old 06-15-2018 , 05:33   Whats wrong with this SQL query?
Reply With Quote #1

PHP Code:
new MVPsteamid[32]
new 
MLPsteamid[32]
get_user_authidtopKilleridMVPsteamidcharsmax(MVPsteamid))
get_user_authidtopDeathsidMLPsteamidcharsmax(MLPsteamid))
new 
szQuery[1000];

formatexszQuery999"UPDATE `users` SET `MVP` = 'MVP + 1' WHERE steam_id = '%s';"MVPsteamid); 
formatexszQuery999"UPDATE `users` SET `MLP` = 'MLP + 1' WHERE steam_id = '%s';"MLPsteamid); 
formatexszQuery999"UPDATE `matches` SET `MVP_steamid` = '%s', `MLP_steamid` = '%s' WHERE match_id = '%s';"MVPsteamidMLPsteamidszLine); 
SQL_ThreadQueryg_hTuple"QuerySetData"szQuery); 
Whats wrong with this? I'm getting only 'matches' but not +1 MVP or + 1 MLP into database...
jonatat is offline
 



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 04:40.


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