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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Take a look at the Firebug addon for Firefox and another addon called 
"FirePHP" or "FireConsole" (the new name coming soon).  It lets you 
output PHP debugging data to HTTP headers that show up in your Firebug 
console.  I believe it supports collapsable tree type output.

-TG

----- Original Message -----
From: "Daevid Vincent" <daevid@xxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Date: Fri, 29 Jan 2010 15:54:33 -0800
Subject:  In need of PHP to JS collapsable array printing routine?

> 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).
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux