Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, I want to ask for help.
I have created a database and there is a field tlogin, user_nm and password. so when I login using the username admin, so there is a special menu admin.

please help me

I am confused how to check whether gmn make admin login
Posted
Updated 11-Dec-10 21:31pm
v2
Comments
Abdul Quader Mamun 12-Dec-10 3:32am    
Grammar & Spelling check. Also describe your question properly.

Add a field in your tblLogin for User level and check for user level of the user just logging in and populate menus as required.
 
Share this answer
 
Comments
Michael Bookatz 10-Dec-10 5:35am    
Isn't it better to have a adtabse table to look up the users permission and base of that. More dynamic
Goutam Patra 10-Dec-10 5:49am    
To [hopingToCode]: Take a look at the question again. Dont you think OP needs a very simple solution? I hope you understand what i mean.
Simon_Whale 10-Dec-10 6:56am    
@HopingToCode: based on the information given by the OP the solution given was the best advice. As the user level can be checked at logon
could give some examples ? please
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900