Free PHP Tutorials

home
Stay at Home and Learn

Set up an array and print out the values

 
Computer Tutorials List

 

 

 

 

<?PHP

$seasons = array("Autumn", "Winter", "Spring", "Summer");
print $seasons[0] . " ";
print $seasons[1] . " ";
print $seasons[2] . " ";
print $seasons[3];

?>