Gender and yes/no:
Year of birth:
[code]if (!preg_match('/[0-9]{4}/', $profile4)) $error .= "<li>it's manda...
Code: [Select]
if (!in_array(strtolower(trim($profile2)), array('male','female','couple'))) $error .= "<li>It's mandatory to fill in your Gender";
Year of birth:
[code]if (!preg_match('/[0-9]{4}/', $profile4)) $error .= "<li>it's manda...