i have a signup form for members, i want it so that they must agree to the terms of service. so far i have this part of code:
if($terms = "checked"){
$error5 = '<font face="Tahoma"><font color="#FF0000"><strong>You must agree to the Terms of Service.<br /><br />';
$fail5 = 1;
}
i want sure what syntax to use so i have to say if($terms = "checked") which of course is wrong. I m not sure what the if command is for if the box is ticked. Please could you help me. Thanx