> If( strcmp($voorraad[1],'on') == 0 )
> // it's checked
> else
> // it's not

Alternatively, fix your HTML by using quotes and a value attribute:

<INPUT TYPE="checkbox" name="voorraad" value="something" checked>

Then:

if ($voorraad=='something') {
    // checked
}


- Colin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to