T
Tony Y
Guest
Hello, I am a newbie to PHP, I got a problem.
$birthday = array(
'tony' => '19861217',
'bob' => '19861207',
'peter' => '19861220')
foreach ($birthday as $name => $date):
each "$name\'s birthday is $date";
endforeach;
Parse error: syntax error, unexpected T_FOREACH in /home/darkt7/public_html...
$birthday = array(
'tony' => '19861217',
'bob' => '19861207',
'peter' => '19861220')
foreach ($birthday as $name => $date):
each "$name\'s birthday is $date";
endforeach;
Parse error: syntax error, unexpected T_FOREACH in /home/darkt7/public_html...