quote:
Originally posted by Ezra
value="<?php $_COOKIE["naam"] ?>">
You are missing an "echo"
code:
value="<?php echo $_COOKIE["naam"] ?>">
Edit: I now see the problem, I didn't look at it closely before.
You can't use JavaScript events with PHP.
"onClick" is JavaScript/VBScript ONLY.
You can set the cookie via JavaScript, though. Also the page needs to be sent to the server in order for PHP to get the cookie.