I have the following array
Array(
Array
(
[Segment] => Array
(
[id] => 738
)
),
Array
(
[Segment] => Array
(
[0] => array([id] => 740),
[1] => array([id] => 750)
)
)
)
how can i loop the array. The second value need inner loop.
i need the output as
first loop as id->738
second loop as id->740, id->750
Regards,
Nisanth
You can do it like this: