I have a form with check boxes, but if some of the check boxes I are not checked I get undefined index is there a why around this please help. I am using $_POST. :-/

Only the check box that is checked will be sent so you can check if it is set like below

if(isset($_POST['check-box-1'])){
//Do something
}

'check-box-1' thats the name of the check box right.

'check-box-1' thats the name of the check box right.

From my experience yes it is.

Thanks will give it a shot.

Thanks the issue is solved

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.