I have had an array in the format written view and i want to traverse through & format data as per my requirement.
Expand|Select|Wrap|Line Numbers
- Array
- (
- [A] => Array
- (
- [0] => stdClass Object
- (
- [id] => 255
- [author_name] => Jane Alexander
- )
- [1] => stdClass Object
- (
- [id] => 370
- [author_name] => Sidney Altman
- )
- )
- [b] => Array
- (
- [0] => stdClass Object
- (
- [id] => 1962
- [author_name] => Edwin Booth
- )
- [1] => stdClass Object
- (
- [id] => 2624
- [author_name] => Gary Burton
- )
- )
- [C] => Array
- (
- [0] => stdClass Object
- (
- [id] => 2747
- [author_name] => Timothy F. Cahill
- )
- [1] => stdClass Object
- (
- [id] => 3384
- [author_name] => Jean Chretien
- )
- )
- [D] => Array
- (
- [0] => stdClass Object
- (
- [id] => 4682
- [author_name] => Ted Dexter
- )
- [1] => stdClass Object
- (
- [id] => 5088
- [author_name] => Ian Dury
- )
- )
- [E] => Array
- (
- [0] => stdClass Object
- (
- [id] => 5268
- [author_name] => Alfred Eisenstaedt
- )
- [1] => stdClass Object
- (
- [id] => 5296
- [author_name] => Mircea Eliade
- )
- )
- [F] => Array
- (
- [0] => stdClass Object
- (
- [id] => 6084
- [author_name] => Kay Francis
- )
- [1] => stdClass Object
- (
- [id] => 5845
- [author_name] => Robert J. Flaherty
- )
- )
- [G] => Array
- (
- [0] => stdClass Object
- (
- [id] => 6928
- [author_name] => James Grainger
- )
- [1] => stdClass Object
- (
- [id] => 6353
- [author_name] => Jan Garbarek
- )
- )
- [H] => Array
- (
- [0] => stdClass Object
- (
- [id] => 8227
- [author_name] => M. F. Husain
- )
- [1] => stdClass Object
- (
- [id] => 7840
- [author_name] => John Hoeven
- )
- )
- [i] => Array
- (
- [0] => stdClass Object
- (
- [id] => 8320
- [author_name] => Helge Ingstad
- )
- [1] => stdClass Object
- (
- [id] => 8299
- [author_name] => Greg Iles
- )
- )
- [J] => Array
- (
- [0] => stdClass Object
- (
- [id] => 8543
- [author_name] => Ron Jaworski
- )
- [1] => stdClass Object
- (
- [id] => 8394
- [author_name] => Terrence J
- )
- )
- [K] => Array
- (
- [0] => stdClass Object
- (
- [id] => 9512
- [author_name] => Harmony Korine
- )
- [1] => stdClass Object
- (
- [id] => 9245
- [author_name] => Ayatollah Khomeini
- )
- )
- [L] => Array
- (
- [0] => stdClass Object
- (
- [id] => 10135
- [author_name] => Joshua Leonard
- )
- [1] => stdClass Object
- (
- [id] => 10035
- [author_name] => Christopher Lee
- )
- )
- [M] => Array
- (
- [0] => stdClass Object
- (
- [id] => 11010
- [author_name] => Juliet Marillier
- )
- [1] => stdClass Object
- (
- [id] => 11743
- [author_name] => James Mill
- )
- )
- [N] => Array
- (
- [0] => stdClass Object
- (
- [id] => 12474
- [author_name] => Navid Negahban
- )
- [1] => stdClass Object
- (
- [id] => 12480
- [author_name] => Sam Neill
- )
- )
- [O] => Array
- (
- [0] => stdClass Object
- (
- [id] => 12792
- [author_name] => Denis O'Hare
- )
- [1] => stdClass Object
- (
- [id] => 12923
- [author_name] => Renee Olstead
- )
- )
- [P] => Array
- (
- [0] => stdClass Object
- (
- [id] => 13672
- [author_name] => Tracy Pollan
- )
- [1] => stdClass Object
- (
- [id] => 13181
- [author_name] => C. Northcote Parkinson
- )
- )
- [Q] => Array
- (
- [0] => stdClass Object
- (
- [id] => 13930
- [author_name] => Randy Quaid
- )
- [1] => stdClass Object
- (
- [id] => 13929
- [author_name] => Jack Quaid
- )
- )
- [R] => Array
- (
- [0] => stdClass Object
- (
- [id] => 14305
- [author_name] => Buddy Rice
- )
- [1] => stdClass Object
- (
- [id] => 14527
- [author_name] => Jerry Robinson
- )
- )
- [S] => Array
- (
- [0] => stdClass Object
- (
- [id] => 15766
- [author_name] => Bill Sienkiewicz
- )
- [1] => stdClass Object
- (
- [id] => 16302
- [author_name] => Willie Stargell
- )
- )
- [T] => Array
- (
- [0] => stdClass Object
- (
- [id] => 17039
- [author_name] => Howard Thurston
- )
- [1] => stdClass Object
- (
- [id] => 17234
- [author_name] => Lynne Truss
- )
- )
- [u] => Array
- (
- [0] => stdClass Object
- (
- [id] => 17330
- [author_name] => Kohei Uchimura
- )
- [1] => stdClass Object
- (
- [id] => 17350
- [author_name] => Bjorn Ulvaeus
- )
- )
- [V] => Array
- (
- [0] => stdClass Object
- (
- [id] => 17530
- [author_name] => Tito Vilanova
- )
- [1] => stdClass Object
- (
- [id] => 17476
- [author_name] => Terry Venables
- )
- )
- [W] => Array
- (
- [0] => stdClass Object
- (
- [id] => 18311
- [author_name] => Bruce Willis
- )
- [1] => stdClass Object
- (
- [id] => 18407
- [author_name] => Dave Winer
- )
- )
- [X] => Array
- (
- [0] => stdClass Object
- (
- [id] => 18634
- [author_name] => Francis Xavier
- )
- [1] => stdClass Object
- (
- [id] => 18642
- [author_name] => Lu Xun
- )
- )
- [Y] => Array
- (
- [0] => stdClass Object
- (
- [id] => 18673
- [author_name] => Adam Yauch
- )
- [1] => stdClass Object
- (
- [id] => 18660
- [author_name] => Yanni
- )
- )
- [Z] => Array
- (
- [0] => stdClass Object
- (
- [id] => 18831
- [author_name] => Khaleda Zia
- )
- [1] => stdClass Object
- (
- [id] => 18883
- [author_name] => Stefan Zweig
- )
- )
- )