Re: [PHP] printing an array

2002-10-24 Thread @ Edwin
Hello, "Chris Grigor" <[EMAIL PROTECTED]> wrote: > Hey there all > > > Im sure that someone out there can answer this question.. > > I have a problem, how can I print each element in an array so that is > returned into a table? > First, make sure that you have your 's in the proper places. Then

[PHP] printing an array

2002-10-24 Thread Chris Grigor
Hey there all Im sure that someone out there can answer this question.. I have a problem, how can I print each element in an array so that is returned into a table? eg Test1 Test3 Test4 $row->CDT_Routine_Count";<--- (This value holds the Results of test1 test 2 e

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

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'] =

[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']