Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

dvd information
domain names
programmershelp

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!




foreach example

this example uses foreach to loop through and print the values in an array

<html>
<body>
<?php
//declare an array
$list = array("a","b","c","d","e");
//use foreach to loop through the $list array
foreach($list as $value)
{
print "$value\n";
}
?>

</body>
</html>