Forum Moderators: coopster
if(isset($_COOKIE['kors'])) {
setcookie('kors', $_COOKIE['kors'] - 1, time()+600);
} else {
setcookie('kors', 3, time()+600);
}
this would require reposting the page to the server, if you didn't want to repost you would have to use js
[edited by: SoulMaster at 7:02 pm (utc) on Jan. 29, 2008]