$name = array("firstname"=>"Albert", "lastname"=>"Einstein", "age"=
>"124");
You left out a right angle bracket.
The '=>' is a special operator used to associate array indices with their value. It's only used in two places, in the array and foreach constructs.
foreach ($array as $key => $value)
{
// foreach is used to walk through an array
// it can create variables for each key and value
// of each indice.
}
http://www.php.net/array
http://www.php.net/foreach
HTH!
Regards,
Rich
--
[
http://www.smilingsouls.net]
[
http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail