Posted By

scriptmakingcom on 09/02/07


display array print printr

Versions (?)

Display the contents of an array using formatting

 / Published in: PHP

simply adding the tags will display the contents of the array in a much better fashion.

  1. //DEBUG:print the contents of an array
  2. echo "<pre>";
  3. print_r($ARRAY);
  4. echo "</pre>";
  5. //END DEBUG

Report this snippet  

You need to login to post a comment.