I have two tables, one is Parent and other Student. I want to allow the Parent to register on website with there username and password and student number but then have access to Student information. How do i go about it?
How are you controlling the student's access to the information? If you're using student number autentification, you can check if the parent has associated the student number he's trying to access. If so, grant acces, else access denied.