phpmy sql

i having a login form having 2 textbox
username &password. A table with 3 fields. as uname,passwd & admin. i want to extract only 3 rd fiels. and after that checking a condition if 3rd field data is student .then move student.php page

so the table column admin can hold the value “student”? seems strange.

What part are you struggling with? Please share your code (and error messages if you get any)

Sponsor our Newsletter | Privacy Policy | Terms of Service