MySQL store data
#1

Hi. Can someone explain to me how can I get the result of a Query?

I'm using this plugin:

https://sampwiki.blast.hk/wiki/MySQL/R33

And I don't know how to use the Cache.

I'm trying to do this loop:

PHP код:
    for(new 0MAX_SLOTSi++)
    {
        
format(querysizeof(query), "SELECT 'ID' FROM `users` WHERE 'Username' = '%s'"Nome(playerid));
        
mysql_query(mysqlquerytrue);
    } 
And I presume that the query wil return ID... but how can I get that??
Reply


Messages In This Thread
MySQL store data - by bruxo00 - 07.01.2015, 18:47
Re: MySQL store data - by PowerPC603 - 07.01.2015, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)