我正在尝试验证以下复选框,并为每个未使用php选择的字段输出错误消息。有人可以帮忙吗?
<html>
<body>
<input type='checkbox' name='option[]' value='Car' >I have a Car licence<br>
<input type='checkbox' name='option[0]' value='Motorcycle' >I have a Motorcycle licence<br>
<input type='checkbox' name='option[1]' value='Fishing' >I have a Fishing licence<br>
<input type='checkbox' name='option[2]' value='TV' >I have a TV licence<br>
<input type='checkbox' name='option[3]' value='Dog' >I have a Dog licence<br><br>
<input type="submit" name="Submit" value="submit">
</body>
</html>