Raised This Month: $ Target: $400
 0% 

MYSQL - weird bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 06-17-2011 , 00:33   Re: MYSQL - weird bug
Reply With Quote #4

No, i was said that your if condition will return true everytime and that's why you have duplicate entries.
PHP Code:
SQL_ReadResult(Query0
is reading the first value selected from your table, has nothing to do with the other if statement, and if you search only by steamid then use this -
Code:
SELECT money FROM furienmoney WHERE steamid = '%s'

And this it must to be executed in a proper function with the correct steamid to work.

Last edited by Clauu; 06-17-2011 at 00:36.
Clauu 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 23:30.


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