Posted by "Ross" on 09/14/05 15:47
Hi,
I want to increment a cookie by 1 every time a click a button
if (isset($add) {
$number++;
setcookie("cookie[number]", "$number Is the number")
}
I know I should retireve the cookie value for $number but the problem is it
has 2 bits, a number and a bit of text.
Thanks,
Ross
[Back to original message]
|