Quantcast
Channel: Recent Edits
Viewing all articles
Browse latest Browse all 12198

Wrap in a pre tag for better results.

$
0
0
<?php$b = array ('m' => 'monkey', 'foo' => 'bar', 'x' => array ('x', 'y', 'z'));$results = print_r($b, true); // $results now contains output from print_recho "<pre>".$results."</pre>"die("Process Terminated");?>OUTPUT WILL LOOK AS FOLLOWS --pre wont be visible.<pre>Array([a] => apple[b] => banana[c] => Array([0] => x[1] => y[2] => z))</pre>

Viewing all articles
Browse latest Browse all 12198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>