Revision: 25208
Updated Code
at March 23, 2010 10:47 by andyhartleeds
Updated Code
<?php /** * Wraps content in <pre> tags. Useful for using with arrays of data. * * @version 1.0 * @author Andrew Hart * * @param string $content The content to wrap in <pre> tags. */ function pre_wrap($data) { echo '<pre>' . print_r($data, true) . '</pre>'; } ?>
Revision: 25207
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 23, 2010 10:27 by andyhartleeds
Initial Code
<?php /** * Wraps content in <pre> tags. Useful for using with arrays of data. * * @version 1.0 * @author Andrew Hart * * @param string $content The content to wrap in <pre> tags. * @return string The content wrapped in <pre> tags. */ function pre_wrap($data) { return '<pre>' . print_r($data, true) . '</pre>'; } ?>
Initial URL
Initial Description
Initial Title
Print recursive in pre-formatted tags
Initial Tags
Initial Language
PHP