Re: [PHP] Not counting my own page visits

[email protected] (Angela Barone)
Newsgroups php.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.