Raised This Month: $ Target: $400
 0% 

SQL Query Result Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nhdriver4
Senior Member
Join Date: Nov 2005
Old 03-22-2006 , 03:03  
Reply With Quote #3

Quote:
Originally Posted by v3x
Make all of your lengths minus one ( except where you declare the new variables ).
Thanks for the suggestion, but still didn't work

Here's the code:
Code:
new name[32],authid[35]     get_user_authid(id,authid,35)     get_user_name(id,name,32)         new query[350]     format(query,350,"SELECT steamid,tag FROM `%s` WHERE steamid ='%s'",sql_table,authid)     log_amx("SELECT steamid,tag FROM `%s` WHERE steamid = '%s'",sql_table,authid)     new Result:result = dbi_query(dbc,query)

Here's the log:
Code:
L 03/22/2006 - 03:04:31: [tagline.amxx] SELECT steamid,tag FROM `tagline` WHERE steamid = ''
L 03/22/2006 - 03:04:31: [tagline.amxx] [AMXXSQL] Database returned no results

Any other ideas?
__________________
nhdriver4 is offline
Send a message via AIM to nhdriver4
 



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 16:46.


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