i have 3 types of registrations
1.doctor registration 2.patient registration 3.agent registration
now admin has approve & enable doctor & agent registrations...
after approval of admin the user can login profiles
i assuming have created user table having login details of doctor , agent users. in same table have column of type bit field , name can isapproved.
in admin section provide form admin can see details , change status of isapproved.
in login form check whether username , password matching record , if yes isapproved columns's value shouold true.if not show appropriate message.
Comments
Post a Comment