Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
Cycling through an array of names with foreachCode Wizard, 12-30-2006 |
Using the foreach construct to cycle through an array.
<?php
$namesList = array("aaron", "wally", "steve", "jeff", "andrew", "joivan");
foreach($namesList as $name) {
echo $name . "<br />";
}
?>
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

