09.26pm

My valiant attempt at a checkbox with validation by way of an IF/IFELSE loop failed.

It’s a fine loop for sure,  the echos work fine if a checkbox is selected.

The end variable is determined from the checkbox array as either A or B:

IF its A, then the variable is equal to “attending”

If its B, then the variable is equal to “not attending”

but then, I changed the echos to echo the variable:

echo “This user is ‘.$varName.’ “; and the result was:

This user is ‘..’

So, I’m giving up now, and making sure I get the best grades I can out of my report.

  1. unforeseen-circumstances posted this