Re: [PHP] find out names of keys in an array

2001-09-10 Thread Kevin
Below is a function I found in the manual or somewhere on php.net. I tried to find it to provide a link so the author would get some credit. Sorry but no luck. Anyway, this is a handy little function when you are trying to figure out the contents of an array. -kevin function array_tree($array

Re: [PHP] find out names of keys in an array

2001-09-10 Thread David Robley
On Tue, 11 Sep 2001 10:23, Evan Nemerson wrote: > I'm writing a little script to make a stem plot (to make my AP STAT > class easier). Currently, my stem plot is stored in an array. Here is > what the output of print_r($stem); looks like: > > Array > ( > [39] => 7 > [40] => 1 1 4 8 9 >

[PHP] find out names of keys in an array

2001-09-10 Thread Evan Nemerson
I'm writing a little script to make a stem plot (to make my AP STAT class easier). Currently, my stem plot is stored in an array. Here is what the output of print_r($stem); looks like: Array ( [39] => 7 [40] => 1 1 4 8 9 [41] => 2 3 8 8 9 [42] => 0 2 3 5 7 [43] => 0 0 1