hi, does anyone have a login script which will take data from the table and decide whether the given user is a admin or a normal user. thanks in advance. Also if there is some help on session variable I would like to know. --------------------------------- Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs