Help with MySQL
#1

I do not understand the principle of a little. Suppose this code:
PHP код:
        mysql_store_result();
        if (
mysql_num_rows() >= 1)
        {
                new 
tmp[MAX_STRING];
                
mysql_retrieve_row();
               
                
mysql_get_field("ID"tmp);
                
SetPVarInt(playerid"MySQL_ID"strval(tmp)); 
How to determine where to save the query results? Where pull information?

Next, let's say I want to display nicknames players who are in the n-th organization. The query:
PHP код:
SELECT `NameFROM `usersWHERE `Org` = 'n' 
These nicknames are written to a variable, as they then bring in a column?
Reply
#2

up_(5sim)
Reply
#3

Surely no one can help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)