If you want to print an array in PHP you can use this:
print_r($var);
but if you do it like this, if there is much information you can go mad. If you add the tag <pre> the text will apperar preformatted.
echo "<pre>";
print_r($var);
echo "</pre>";
I hope this help you.
Greetings.
No hay comentarios:
Publicar un comentario