Originally posted by gabrielcrowe
*picks up megaphone and says loudly......*
"Gabriel Crowe....step away from the code"
$teclan=array("fergus", "iain", "lewis","Nicola", ............);
foreach ($teclan as $value)
{
if ($value == "fergus")
{
echo "Look! I work here! - " . $value . "<br />";
}
else
{
echo $value . " works here too!<br />";
}
}
Comment