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!
Hey there,
Don't know nothing about XAMPP or WAMP, but a variable is a object that holds data in a program such as PHP. The data is called a string.
So $JT = ' This is a string! '; remember that variables are case sensitive so $JT is separate from $jt.
This prints the variable to screen...
Hey Dean,
The . means add. Add to, in addition. It basically connects a variable to a string.
Why do you have a . after $header .=? You don't need that there!
Hope this helps!