Web login system
<p>So here is my problem: I am designing a website for my project.  So a user has got a role, stored as user_role in my database.  User roles can be classified as 'police', 'ambulance', 'SMF' or 'fire'.  So if the user logs in as 'police', he will be redirected to a specific page and if a user logs in as smf, he will be redirected to another webpage and so on.  I am not able to get the proper syntax for logging in through user roles. </p>

<p>Is it possible for me to some suggestions on the php scripts that i can use??</p>

<p>Thank you in advance</p>
