Hi, Any php cookie reading experts in here?
Cookie Monster?
6
Hi,
Any php cookie reading experts in here?
I cannot figure out why this doesn't work:
The cookie "exists", and the "values" are there,
yet the "othertext" is what is being echoed.
Your help is appreciated.
Be Well!
ECS Dave
Any php cookie reading experts in here?
I cannot figure out why this doesn't work:
Code:
<?php
if($_COOKIE['avalue'=='something']){
echo ' sometext';}
else{
if($_COOKIE=='')
echo ' othertext';}
?> yet the "othertext" is what is being echoed.
Your help is appreciated.
Be Well!
ECS Dave
- wayfarer
- [1] reply
- ECS Dave
- SteveJohnson
- ECS Dave
- SteveJohnson
Next Topics on Trending Feed
-
6