Raised This Month: $ Target: $400
 0% 

SQL QUERY


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
davidto1995
Member
Join Date: Jul 2010
Location: hong kong
Old 08-02-2011 , 08:32   Re: SQL QUERY
Reply With Quote #1

In i+31, i insert "false" / "true"(the thing i retrieve)
a little part of the code:
Code:
len += formatex(TempQuery[len], charsmax(TempQuery)-len, "'true',")
//any...
len += formatex(TempQuery[len], charsmax(TempQuery) - len, "'false',")

Last edited by davidto1995; 08-02-2011 at 08:37.
davidto1995 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-02-2011 , 08:38   Re: SQL QUERY
Reply With Quote #2

Quote:
Originally Posted by davidto1995 View Post
In i+31, i insert "false" / "true"(the thing i retrieve)
Then you need to convert from a string (which is what you have) to a bool.

PHP Code:
IsUserHaveNickname[client][i] = TempString[0] == 't' true false 
__________________
fysiks is offline
Reply



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 03:31.


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