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