- Forums
- Tutorial And Guides
- How To Display All Of The Array Elements With FOR Loop
This Page Contains information about How To Display All Of The Array Elements With FOR Loop By wallpaperama in category Tutorial And Guides with 0 Replies. [1431], Last Updated: Tue Feb 07, 2023
wallpaperama
Sat Feb 23, 2008
0 Comments
675 Visits
to show you how you can display or show the values of an array you can use this small script i created
<?
## THIS TUTORIAL CREATED BY WWW.WEBUNE.COM LICENSED THROUGH WWW.WALLPAPERAMA.COM
$dir_fs_www_root = getenv('SCRIPT_FILENAME');
$words= explode("/", $dir_fs_www_root );
for($i =0; $i < count($words); $i++) {
echo "<strong>$words[$i]</strong> = ";
echo $words[$i]."<br>";
}
?>