Incrmenting a Cookies with PHP (Beginner Question)
- by BandonRandon
Hello,
I have used sessions before but never cookies. I would like to use cookies for two reasons:
1) it's something new to learn
2) I would like to have the cookie expire in an hour or so (i know in the code example it expires in 40 sec)
I am trying to write a basic if statement that
if($counter=="1") { //do this second
}
…