PHP – Printing an Array

Need to print an exploded array in Drupal and see the results of the array? Use the following:

[php]

<?php echo ‘<pre>’; print_r($item); echo ‘</pre>’; ?>

[/php]

Leave a Reply

%d bloggers like this: