dbi_query : variable help
Hi,
I need help on a basic problem (too easy for you maybe ^^). I don't know how to put variable in SQL Queries by using dbi_query Here is an example (this is just the problem part i know that i need a dbi_connect ): Code:
I want to know if this code is correct because, if a user connect with a steamid for example STEAM_0:0:123456, the sql query will search for steamid and won't search for STEAM_0:0:123456. (it will search for the variable name and won't search for the variable content) Thanks a lot and tell if i'm not really understandable MusicSpeed |
Re: dbi_query : variable help
PHP Code:
|
Re: dbi_query : variable help
Thanks a lot, now i know that i can use %s in a SQL Query ^^
+Karma I've just another question, do you know how to create my own include file because with pawn studio i created one, added natives and this code at the top but it didn't recognize it (myincludefile.inc) Code:
MusicSpeed |
Re: dbi_query : variable help
Glad that I could help :)
Good luck in your future works :) ( btw, thx 4 k.. you deserve one too :mrgreen: ) Edit: Try this: PHP Code:
PHP Code:
|
Re: dbi_query : variable help
Thank you for answering me !
All is allright now |
| All times are GMT -4. The time now is 17:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.