Apparently, it doesn't like the $date in foreach. See php.net
<?php
$birthday = array(
'tony' => '19861217',
'bob' => '19861207',
'peter' => '19861220');
foreach ($birthday as &$name);
echo $name."'s birthday is $date";
You also had a colon not a semicolon.
?>
Good Luck!