- Forums
 - PHP
 - How To Display Element Values In An Array Using A Function
 
This Page Contains information about How To Display Element Values In An Array Using A Function By wallpaperama in category PHP with 0 Replies. [1238], Last Updated: Sat May 18, 2024 
 
 wallpaperama
 Thu Jan 08, 2009 
 0 Comments
 338 Visits
<?php
echo'<pre>';
print_r($myarray);
echo'</pre>';
?>
lets say for example i have an array string that and its called myarray.
if you do a simple echo it wont work:
echo $myarray
output:
array
so if you want to see what the values are in the myarray string because its an array you can use the print_r() function in php
hope that help