AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Sql question (https://forums.alliedmods.net/showthread.php?t=153435)

zeus 03-23-2011 12:27

Sql question
 
I have this code
PHP Code:

format(szTemp,charsmax(szTemp),
    
"SELECT * FROM `%s` WHERE (`%s`.`name`=`%s`)",gTn,gTn,szName);
    
SQL_ThreadQuery(g_SqlTuple,"register_count_exists",szTemp,Data,1

I want to use SQL_QuoteString instead of SQL_ThreadQuery but i don't understand how. Can someone help me with this?


All times are GMT -4. The time now is 14:33.

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