Raised This Month: $ Target: $400
 0% 

SQL Query Result Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
nhdriver4
Senior Member
Join Date: Nov 2005
Old 03-22-2006 , 02:27   SQL Query Result Help
Reply With Quote #1

Im writing a plugin, and I cant seem to get my sql querys to return any results.

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)     new Result:result = dbi_query(dbc,query)

I created a log_amx line with the same variables below. It's picking up the table name fine. That's defined at the top of the document. My problem is trying to get the authid to show up with the users steam id in the query.

Any 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