Raised This Month: $ Target: $400
 0% 

Multiple results from mySQL query


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IAmReallyCool
Member
Join Date: Nov 2013
Old 01-10-2014 , 06:05   Multiple results from mySQL query
Reply With Quote #1

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..
IAmReallyCool is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 01-10-2014 , 12:46   Re: Multiple results from mySQL query
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=46779
jimaway is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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