email;// email is stored to a variable //$userid=$row->userid; $sec=$row->sec; $pass_temp=$row->password; $email=$row->email; $name=$row->name; //$userid = $_POST['userid']; //$sec = strtolower($_POST['sec']); if ($_POST['submit'] == "Update Account") { $userid = $_POST['userid']; $name = $_POST['name']; $email = $_POST['email']; $sec = $_POST['sec']; $result = mysql_query($link,"UPDATE plus_signup SET name='$name',email='$email',sec='$sec' WHERE userid='$userid'") or die(mysql_error()); $msg = "
Account has been updated.
"; } ?> Sheriff Employee Section

Notice: Undefined variable: msg in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/account.php on line 69
"; //$status= "NOTOK";} ?>
User ID:
Notice: Undefined variable: userid in /var/www/localhost/htdocs/sheriff/online_sheriff/signup/account.php on line 95
Name:
Email:
Change Security Question: Where were you born?
Change Password: Password Change