Raised This Month: $ Target: $400
 0% 

dbi_query : variable help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 11-03-2009 , 07:47   Re: dbi_query : variable help
Reply With Quote #4

Glad that I could help
Good luck in your future works
( btw, thx 4 k.. you deserve one too )

Edit:
Try this:
PHP Code:
#define _myincludefile_included
#if !defined _myincludefile_included
  #endinput
#endif

#include <amxmodx>
#include <amxmisc> 
Second Edit:
PHP Code:
new steamid[35]; 
get_user_authid(id,steamid,34); 

new 
szQuery[128];
format(szQuerycharsmax(szQuery), "SELECT * FROM `mytable` WHERE `player_steamid` = '%s'"steamid);

new 
player_load:res dbi_query(mysqlszQuery); 
Forgot quotes
__________________

Last edited by unnyquee; 11-03-2009 at 09:06.
unnyquee is offline
 



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 17:44.


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