Need help in php contact form

Hi everyone,

Iam very much new to this group and i am glad to be a part of it. As a beginner i found it very useful and informative.

Ok, i need a clarification in php contact form…can u plz tell me how to set the check box mandatory. In my form i have redirected the user to a thanks pages using header function after he submits.

The problem is if the user doesn’t check the check box it display and error

"Warning: Invalid argument supplied for foreach() in …"

so plz help me to sort of it

Thnks and Rgds