Code: Select all
if ($get_we_are == "" || $get_post_code == "" || $get_username == "" || $get_email == "" || $get_bday_day == "" || $get_bday_month == "" || $get_bday_year == "" || $_GET['meeting_a_1'] == "" || $_GET['meeting_a_2'] == "" || $_GET['meeting_a_3'] == "" || $_GET['meeting_a_4'] == "" || $_GET['meeting_a_5'] == "" || $_GET['meeting_a_6'] == "" || $_GET['meeting_a_7'] == "" )
{
echo "<table width=\"50%\" border=\"0\" cellpadding=\"5\" cellspacing=\"10\" align=\"center\"><tr><td class=\"error_box\" align=\"center\">";
echo "Attention!<br>You have not answered all the questions, please scroll down, look for the red errors and fill in those questions.<br>Thank you.";
echo "</td></tr></table>";
}
else
{
echo "All checks passed, you can continue...<br>";
}It's mostly good, the variables ALL have more than just "" (blank), so the if should give the All checks passed message... But, it doesn't. Upon removing the $_GET's from the equation, so it's now this...
Code: Select all
if ($get_we_are == "" || $get_post_code == "" || $get_username == "" || $get_email == "" || $get_bday_day == "" || $get_bday_month == "" || $get_bday_year == ""I don't see what's wrong with the code, I think I've looked at it too long now (three days
Any advice appreciated
Rob