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?
__________________