On one of my pages if both checkboxes are checked this error will show up:
My question is, what code should I use to give an error message if NONE of the checkboxes are checked?Code:if ($_POST['promote']['multicity_co'] && $_POST['promote']['multicity_cf']) $err .= "• please, select only ONE paid promotion<br>";
Thank you in advance.



Reply With Quote

Bookmarks