ranking Sort Sort   |   date Sort Sort   |   member Sort Sort

Date Submitted Mon. Oct. 9th, 2006 10:09 AM
Revision 1
Helper inxilpro
Tags debug | HTML | PHP | Variable
Comments 2 comments
Here's a basic function for debugging any kind of PHP variable. It allows for "invisible" or "visible" output--that is output in HTML comments or within visible HTML tags. It also supports customizable "containers" which lets you easily edit the look of the visible and invisible blocks. Examples in code below.
Date Submitted Thu. Aug. 31st, 2006 1:36 PM
Revision 1
Helper dohpaz
Tags debug | HTML | PHP | Variable
Comments 0 comments
A quick and simple function to dump a variable (array, object, string, int, etc) out into -formatted output for a web browser.

If the variable is an array or an object, you can have it returned into the another variable for later processing (i.e., through templates or e-mail). Due to lack of free time, if the variable is not an array or an object, it will ignore the $return value and print directly to output.

Future revisions will add the above mentioned functionality.