To print the display in ‘human readable’ format, use the html preformatting tag before print_r:

echo "<pre>";
print_r($myarray);
echo "</pre>";

 


0 Comments

Leave a Reply

%d bloggers like this: