note 52509 deleted from function.print-r by derick
| From: | derick@php.net | Date: | Thu, 27 Oct 2005 10:15:34 +0000 |
| Subject: | note 52509 deleted from function.print-r by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97672@lists.php.net to get a copy of this message | ||
Note Submitter: james at jyopp <dotcom>
----
Here's a simpler way to use print_r to get readable output to the browser:
<?php
print "<pre>".print_r($var, true)."</pre>";
?>
It's clean, fast, and hasn't had any problems for me so far...