I apologize up front if I've done this all wrong but any help you can give me would be appreciated.
I have 2 tables, one for members which includes authLevel to hold obviously their authorization level. 2 levels are stored, member and administrator.
Following the instructions above, I have added a second table of links that I'd like authorized or logged in members to be able to see. I have a column for the link name, one for the urls to go to when clicked and one for the authorization level, which is populated with member or administrator depending on who I want to see the link.
I need administrators to see all links and members to see some.
My problem is figuring out how to tie the authLevel from the members table to the authLevel of the links table. I have tried using the session variable $_SESSION['MM_UserID'] but am not doing the right things as it's not working.
Any elaboration on the steps involved would be great.
Thanks