03-11-2009, 08:16 PM
|
#7 (permalink)
|
It's all just 1s and 0s Join Date: Jan 2004 Location: in the lab Posts: 4,425
| Re: PHP form Quote:
Originally Posted by CrazeD Code: if ($_POST['random'] == true)
Should be like this. | HTML Forms Input Type Checkbox
read value Quote:
Here are the attributes to this input type
input * - tells the browser that this is part of the form
type * - tells the browser what input type it is
name * - when the form is submitted, this is the header the information in this field will go under
value * - this is what it the browser sends if that box is checked (can be anything)
checked - if this is included in the tag, when the page loads up it will already be checked | |
| |