My php form has required fields, but the message does not let the user know which field hasn't been entered. How can I do this?
//if statement to check required fields
if ($name && $phone && $email && && $address && $city && $state && $zip && $month && $date && $year && $contact)...
//if some required fields were not filled out
echo "Please make sure you fill in all required fields<br>Click <a href=\"javascript:history.back(1)\">here</a> to return to our form.";
}