Array
(
[Server] => Array
(
[ServerPLR] => DedicatedServer
[LobbyName] => IROn3
[ModName] => IROn3
[Aids] => (0,0,0,0,0,0,0,0,1,0,0)
)
[Session] => Array
(
[Scene] => Trophy of the Dunes
[TrackAIW] => ZandGP.AIW
[TrackLength] => 4278.1221
)
[Slot000] => Array
(
[BestLap] => 111.255
[LastLap] => 112.180
[BestSectors] => (32.742, 46.991, 31.119)
[LastLapSectors] => (33.017, 47.528, 31.635)
[Sectors] => (33.017, 47.528, 31.635)
)
[Slot001] => Array
(
[BestLap] => 109.911
[LastLap] => 111.371
[BestSectors] => (32.390, 46.450, 30.842)
[LastLapSectors] => (32.789, 47.425, 31.157)
[Sectors] => (32.789, 47.425, 31.157)
)
........
)
I need to read the data inside the [Slot000], [Slot001]... array, but I don't know in advance how many of those array are contained inside the main array.
How can I cicle through all of them?
This post has been edited by Alhazred: 06 December 2010 - 11:45 AM

New Topic/Question
Reply



MultiQuote





|