Hi all

I have a checkbox field in a form and want to set a cookie to the values
below.

Using the code below it always returns "NO" errr why?

 

<?

if(isset($chkpost)){

setcookie("ckpst","YES","/");

}

else

{

setcookie("ckpst","NO","/");

}

 

As always I thank you in advance for any pointers or code snippets.

 

Dave Carrera

Php Developer

http://davecarrera.freelancers.net

http://www.davecarrera.com

 

 

Reply via email to