Hello All,

I am a newbie in php world,I have a basic login script where one can come & register them self & then simply logging into site, but here i need to implement a role based login, means if one logging into his id & pwd should be checked in Database & on the basis of role he should redirect to the certain page.

Please suggest me how i can integrate this feature into my existing code.

Thanks in advance,