Raised This Month: $ Target: $400
 0% 

One thing with SQLx


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 01-05-2007 , 14:38   Re: One thing with SQLx
Reply With Quote #2

Your usage of SQL_ThreadQuery is wrong. You can't format string in SQL_ThreadQuery. You have to do it before.

Code:
SQL_ThreadQuery ( Handle:cn_tuple, const handler[], const query[], const data[]=0 )

Code:
static query[256]; format(query, 255, "SELECT job FROM users WHERE steamid='%s'", authid); SQL_ThreadQuery(sql_get_handle(),"QueryHandle", query)
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
 



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 22:27.


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