PHP Function to Wrap print_r in <pre> Preformatted Text Tag
Finally got tired of manually wrapping print_r in <pre> tags so I’m just going to drop this here for future reference: // wrap print_r in preformatted text tags // usage: print_pre($value) function print_pre($value) { echo "<pre>",print_r($value, true),"</pre>"; }// wrap print_r … Read More