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

Your email address will not be published. Required fields are marked *