I want to make sure that users have checked off a checkbox agreeing that they've read the terms and conditions before allowing them to register on my site. I've figured out how to do this in js, but I want to do it with php just in case. I've tried a few methods, but I keep getting a message saying that it's an undefined index.
My validation occurs on another page which gets passed all of the information from the form page. The checkbox is called 'terms', but I don't know the syntax to make sure that it's checked. Thanks in advance.