Hello
how do you call a value from a cookie and check it against a value and if if equlas it do THIS and if not do THAT?..I think it should be something like this:
<?php
if ($ssTemplate["tmp1"]) // I'm guessing this means if the cookie equals this do this
{ echo"THIS";}
else {echo"THAT";} ?>
All I can achieve is if the cookie has any value at all the 'THIS' statement is returned, when I want it to return 'THIS' only when the value of ssTemplate(cookie) is 'tmp1', can anyone help?
Cheers John
ps. I haven't got much hair left on this one!