Forum Moderators: coopster
regards,
sam
In your menus you need to have various ifs/cases, something like:
if (user_level==1)
{
echo "Add New User<br>";
echo "Edit User";
}
else
{
echo "Edit profile":
}
In your [New User? Register Here!] script, just add a hidden field with whatever user_level you want to assign new members with.
In your check_login script, just grab the user_level from your db and if login is succesfull, redirect user to whatever pages are appropriate for his user_access_level.
And you are set :)
You can play around with the alternatives, but you can easily keep it simple and neat.
Habtom