Oops.. didn't realize that on line 82.. heh..
Replace line 82 with
$add_member = "insert into members values({$_POST['f_name']},{$_POST['s_name']},{$b_date},{$_POST['email']},{password($_POST['password1'])},'10',{CURRENT_DATE()},{$_POST['edtype']},'0',{$_POST['inform']},{$_POST['us']})";