I already have an existing login system using php and mysql using sessions. I think i do not need to post the code here.
i want to add a user level feature to it, wherein it limits the pages that can be viewed by a registered user depending on his access level. Example user level 1 can can access pages 1-5 only, and user level 2 can access pages 1-10, and so on.
i addedd a userlevel column on my members table. and i do not know what is the next step.
what particular function / code can be used to set the user level restrictions on the pages?
i tried searching out for examples in the web but can't find any good one.
please help