AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Multiple results from mySQL query (https://forums.alliedmods.net/showthread.php?t=233123)

IAmReallyCool 01-10-2014 06:05

Multiple results from mySQL query
 
Let's say i have a table like that :

id server
1 Zm
2 JB
3 DD2

And so i do a query : SELECT server FROM mytable
So far it's pretty easy. But then I want to add those results (ZM, JB, DD2) into a menu. How can I do it? Could anyone please provide an example, at least just printing the results with loop..

jimaway 01-10-2014 12:46

Re: Multiple results from mySQL query
 
https://forums.alliedmods.net/showthread.php?t=46779


All times are GMT -4. The time now is 10:06.

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