"; echo $msg; $status= "NOTOK";} if ( $password <> $password2 ){ $msg="Both passwords are not matching
"; echo $msg; $status= "NOTOK";} if($status<>"OK"){ echo "$msg
"; }else{ // if all validations are passed. $password = sha1($_POST['password']); $result = mysql_query($sql,"UPDATE plus_signup SET password='$password', sec='$sec' WHERE userid='$userid'") or die(mysql_error()); echo "
Thank-you, You have successfully signed up

You will be redirected to the login page in just a moment
"; header("Refresh: 5; URL=$site"); } } } $_GET['userid'] = $userid; ?> Sheriff Employee Section

Notice: Undefined variable: msg in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/new_signup.php on line 102
User ID Name Email Security Question
Place of Birth?
password password Confirm

Notice: Undefined variable: userid in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/new_signup.php on line 118

Notice: Undefined variable: name in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/new_signup.php on line 119

Notice: Undefined variable: email in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/new_signup.php on line 120