Answers for "print_r php format"

PHP
0

php print_r

<pre>
<?php
$a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z'));
print_r ($a);
?>
</pre>
Posted by: Guest on November-21-2020
-1

php print array nice format

print "<pre>";
print_r($data);
print "</pre>";
Posted by: Guest on June-29-2020

Browse Popular Code Answers by Language