ok, here are 2 relevant piece of code:
where i create the cookies:
setcookie('board[name]', $_REQUEST['name'], time()+3600, "/");
setcookie('board[email]', $_REQUEST['email'], time()+3600, "/");
where i retrieve the cookies:
echo <<<ENDOFBODY
//...
<tr>
<td>Your Name:</td>
<td><input type="text" name="name" size="30" value="{$_COOKIE[board][name]}" /></td>
</tr>
<tr>
<td>Your E-mail Address:</td>
<td><input type="text" name="email" size="30" value="{$_COOKIE[board][email]}" /></td>
</tr>
// ...
ENDOFBODY;
something appears in the email value, but not the name. if i comment out the email setcookie, then something appears in name and the old email value is displayed.
weird no?