[PHP] Printing an array

2002-03-19 Thread Alexander Skwar
Hello! I'd like to print an array kinda like the way it was created. Ie., I've got the following array: $r[0][0]['name'] = 'joe'; $r[0][0]['gender'] = 'male'; $r[0][0]['prop'] = 'prefs'; $r[0][0][0]['text'] = 'mail'; $r[0][0][0]['set'] = 'yes'; $r[0][0][1]['text'] = 'phone'; $r[0][0][1]['set']

Re: [PHP] Printing an array

2002-03-19 Thread scott furt
...because you never shrink $prefix after output(), try array_pop($prefix); Alexander Skwar wrote: > Hello! > > I'd like to print an array kinda like the way it was created. Ie., I've > got the following array: > > $r[0][0]['name'] = 'joe'; > $r[0][0]['gender'] = 'male'; > $r[0][0]['prop'] =

Re: [PHP] Printing an array

2002-03-19 Thread Alexander Skwar
»scott furt« sagte am 2002-03-19 um 05:28:51 -0500 : > ...because you never shrink $prefix > > after output(), try array_pop($prefix); Awesome! This works! *THANKS* a lot! I was fighting with this for a whole day :) Alexander Skwar -- How to quote: http://learn.to/quote (german) http://qu