However, i now have several sections which are identical appart from the stored information im trying to retrieve, and im not sure how to get all matching results, anyone able to explain a method?
What im wanting is the information behind [hostname] and [map] from each section, the array dump is :
Code: Select all
Array
(
[nsserver] => Array
(
[address] => 194.154.191.10:27015
[hostname] => Wireplay UK NS [Classictastic][NS + FF on]
[map] => ns_mineshaft
[gamedir] => ns
[gamename] => NS v3.2.0
[num_players] => 4
[max_players] => 16
[protocol] => 47
[server_type] => d
[server_os] => l
[password] => 0
[mod] => 1
[mod_info] => http://www.unknownworlds.com/ns/
[mod_download] => http://www.unknownworlds.com/ns/view?action=files
[mod_version] => 0
[mod_size] => -709672960
[mod_ssonly] => 9
[mod_customdll] => 0
)
[nsserver2] => Array
(
[address] => 194.154.191.11:27015
[hostname] => Wireplay UK NS [Fight Club][CO + Extralevels]
[map] => co_daimos_beta5
[gamedir] => ns
[gamename] => NS v3.2.0
[num_players] => 0
[max_players] => 18
[protocol] => 47
[server_type] => d
[server_os] => l
[password] => 0
[mod] => 1
[mod_info] => http://www.unknownworlds.com/ns/
[mod_download] => http://www.unknownworlds.com/ns/view?action=files
[mod_version] => 0
[mod_size] => -709672960
[mod_ssonly] => 9
[mod_customdll] => 0
)
[nsserver3] => Array
(
[address] => 194.154.191.12:27015
[hostname] => Wireplay UK NS [Melting Pot][CO only]
[map] => co_angst
[gamedir] => ns
[gamename] => NS v3.2.0
[num_players] => 2
[max_players] => 18
[protocol] => 47
[server_type] => d
[server_os] => l
[password] => 0
[mod] => 1
[mod_info] => http://www.unknownworlds.com/ns/
[mod_download] => http://www.unknownworlds.com/ns/view?action=files
[mod_version] => 0
[mod_size] => -709672960
[mod_ssonly] => 9
[mod_customdll] => 0
)
[nsserver4] => Array
(
[address] => 194.154.191.13:27015
[hostname] => Wireplay UK NS [Vets Surgery][NS + FF on]
[map] => ns_mineshaft
[gamedir] => ns
[gamename] => NS v3.2.0
[num_players] => 2
[max_players] => 18
[protocol] => 47
[server_type] => d
[server_os] => l
[password] => 0
[mod] => 1
[mod_info] => http://www.unknownworlds.com/ns/
[mod_download] => http://www.unknownworlds.com/ns/view?action=files
[mod_version] => 0
[mod_size] => -709672960
[mod_ssonly] => 9
[mod_customdll] => 0
)
[nsserver5] => Array
(
[address] => 194.154.191.14:27015
[hostname] => Wireplay UK NS [ProtoLab][CO + PLUGINS]
[map] => co_core
[gamedir] => ns
[gamename] => NS v3.2.0
[num_players] => 3
[max_players] => 18
[protocol] => 47
[server_type] => d
[server_os] => l
[password] => 0
[mod] => 1
[mod_info] => http://www.unknownworlds.com/ns/
[mod_download] => http://www.unknownworlds.com/ns/view?action=files
[mod_version] => 0
[mod_size] => -709672960
[mod_ssonly] => 9
[mod_customdll] => 0
)
)