Checkbox ?
| From: | Dave Carrera | Date: | Fri, 12 Apr 2002 09:11:33 +0000 |
| Subject: | Checkbox ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18446@lists.php.net to get a copy of this message | ||
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