Re: form checkbox valuye question?
| From: | Unknown Sender | Date: | Sat, 05 Aug 2000 03:13:57 +0000 |
| Subject: | Re: form checkbox valuye question? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10233@lists.php.net to get a copy of this message | ||
> <form action="hello.php">
> <input type="checkbox" name="WORLD">World<br>
> <input type="checkbox" name="Somewhere">Somewhere<br>
> <input type="submit" name="Submit">
>
> </form>
>
>
> And I checked the first checkbox labeled "World"
> What values are my variables going to be in hello.php?
>
if you want to check whether the checkbox was checked
use $world=="on" - this usually works...
~Peter