Re: [PHP] accessing data from an array within an array.

2011-05-07 Thread Adam Preece
hi, worked it out, thankyou. On 7 May 2011, at 16:57, wrote: > I would suggest you print out the array to get a better understanding of the > structure first. > > Print_r(''); > Print_r($array); > Print_r(''); > > > You can foreach over the $array['row'] > > Foreach($array['row'] as $key=

RE: [PHP] accessing data from an array within an array.

2011-05-07 Thread admin
I would suggest you print out the array to get a better understanding of the structure first. Print_r(''); Print_r($array); Print_r(''); You can foreach over the $array['row'] Foreach($array['row'] as $key=>$values) { Echo $values.PHP_EOL; } Richard L. Buski