[MYSQL] How to retrieve information from multiple rows with one query.
#1

How can i retrieve information from multiple rows in one query? I have following line
pawn Код:
mysql_format(mysql,query,sizeof(query),"SELECT Name FROM pdata WHERE fName = '%s'",cnimi[playerid]);
mysql_tquery(mysql,query,"LoadUser","i",playerid);
How i can select all fNames which are equal to cnimi[playerid] and store them into variables. I'm using R38 plugin.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)