
September 12th, 2012, 06:40 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 2
Time spent in forums: 10 m 46 sec
Reputation Power: 0
|
|
|
Admin and non admin login
Hi,
Im a newbie to dev Shed and thanks for having me. I have a issue. I have a login code but i need the code to when certain people login (admin) it sends then here and when ( non admin ) login it sends them there.
I have a users table with a column name "role" 1 as admin and 2 as non admin... Here is my whole login code. Each member has a id so id # 3,15,17 are admin and 1,2 through 31 are non admin . Can anyone help??? Im sure its easy but im still new to php.. THanks in advance.
I just need to know where and how to add the changes... Im pretty ignorant and still new to php. THis code was done by someone prior to me...
Thank you...
|