Re: Not counting my own page visits
| From: | Angela Barone | Date: | Wed, 06 Mar 2013 01:12:37 +0000 |
| Subject: | Re: Not counting my own page visits | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320417@lists.php.net to get a copy of this message | ||
On Mar 4, 2013, at 3:49 PM, David Robley wrote:
> Misunderstanding what $cookie contains? It is a boolean, i.e. it will be
> true or false depending on whether the cookie was set or not. To echo the
> contents of a cookie, you need to use the cookie name, viz
>
> <?php echo 'Cookie is: '.$_COOKIE['test2']."<br>"; ?>
You're right - I didn't really understand cookies. However, with everyone's help
here, and by searching the web, I got it to work.
Thank you to Tommy, Ash, and David!
Angela