Menu
i want to make login for my php,by using staffID and password.
password and staffID actually must be found in tblStaff ( database table name)
so when i click ‘submit’ , it would retrive to tblStaff,to make sure that there is password and staffID in the list of tblstaff
if correct,then staff can add,delete and edit list,if not then show valid staffid and pasword
and for the session variable for staffid must start with 2 uppercase letters ‘ST’ followed by 3 digit
password must be alphanumeric, minimun 3 characters and max 10
and i want only type=’A’ that can delete,edit and add the list staff
thanks