Re: In need of PHP to JS collapsable array printing routine?

From: Date: Sun, 31 Jan 2010 10:19:59 +0000
Subject: Re: In need of PHP to JS collapsable array printing routine?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-301702@lists.php.net to get a copy of this message
http://mediabeez.ws/htmlMicroscope/ I'll b cleaning up & releasing the 1.3.0 code today / early next week.. On Sat, Jan 30, 2010 at 12:54 AM, Daevid Vincent <daevid@daevid.com> wrote: > I'm  wondering if anyone has a PHP debug-type routine that will take a PHP > array and output it to the web page, but make all the dimensions of the > array collapsable, ideally showing each sub-key (or index) as the name to > click to expand it again. > > I'm dealing with some rather huge datasets in multi-dimensional hashes and > printing them out with a beautified print_r() is just not cutting it > anymore. I need to collapse them down to wrap my head around them. Some of > them have 6 or more dimensions! > > I use jQuery for JS if that helps (in case your routine requires that too). > >

« previous php.general (#301702) next »