So this particular class assignment has us coding radio buttons and checkboxes in html but we use PHP to process the information. I have a very basic understanding of PHP so this exercise has so far given me trouble.
We have to program the checkboxes to their own array then pass the form data to the PHP script. We are supposed to not allow the selection of certain radio buttons with certain checkboxex and print warnings that those choices are invalid. For example the following statement:
radio1 is valid with all checkboxes but radio two is invalid with checkbox 3
I have seen a lot of examples of if(isset[])
statements nested with other if statements but I am still unable to get the desired outcome. The simplest solution is preferred.