Come on guys I've solved two of them on my own now after hours of trying (i'm so noob

) PLEASE help me with these last two I actually CAN'T do them:
commandID must contain words " ON" or " OFF" (with a space before them hence " OFF")
delboy[] must be CHECKED
This is the PHP line of code in the form for the check box:
PHP Code:
<input type="checkbox" name="delboy[]" value="' . $device . '" />