I am trying to implement a page where the staff can login and add,
modify, update work cases.
I have a select list with data
(staff names) loaded from a DB. In this DB I have the basics,
username, id, password, email.
The default value for the
select list/box is "-"; when it changes, a form pops up asking to
enter the password for the SELECTed staff member.
jQuery, I send the id, user and password (plain text) to the server.
In the php file,
mysqli_real_escape_string) ALL three variables and hash
md5($salt.$varname)) the password.
query the mysql DB with <