I have 5 checkbox variables ($var1 through $var5) that are defined and selected on page1.php and passed properly so that the page displays the appropriate modules on page2.php. I'm trying to write code so that page2.php checks to see if ANY of the variables are selected. If none are, it goes back to the page1.php. The following code isn't working for me, and I'm not sure where to turn. Thanks.
if ((!isset($var1)) && (!isset($var2)) && (!isset($var3)) && (!isset($var3)) && (!isset($var4)) && (!isset($var5))){
header("location:./search_main.php");