Forum Moderators: coopster
redbluegreenyellow
as i expected to.
Don't know if it will make any difference at your end but personally i wouldn't have quotes around the variable $color where you are echoing it out.
So...
<?php
$colors = array('red', 'blue', 'green', 'yellow');
foreach ($colors as $color)
{
echo $color;
}
?>