On Wed, 28 Feb 2001 12:33:55 -0800, Dallas K. ([EMAIL PROTECTED])
wrote:
>I am looking for somthing that will parse a multidimentional array
>of any
>size, and return a key / value listing for debugging....
>
>Example:
>
>if I have an array such as...
>
>$arr[name] = dallas
>$arr[address][city] = austin
>$arr[address][state] = Texas
>$arr[somthing][somthing_else][blah1]= some_value1
>$arr[somthing][somthing_else][blah2]= some_value2
>$arr[somthing][somthing_else][blah3]= some_value3
>
>I would want the result to be displaied as:
>
>ARR
>    name --- dallas
>    address --- city --- austin
>    address --- state --- Texas
>    somthing --- somthing_else --- blah1 --- some_value1
>    somthing --- somthing_else --- blah1 --- some_value1

<pre>
<?var_dump($arr)?>
</pre>

will come pretty close to what you want


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to