i need a Script code to control access to pages in my site, based in a mysql variable,
i need a simple code , that i can add to my new page html code and then just certain users can access to this page, based in this variable from my mysql database, users mus be login first to access and then the script check i this user is allow or not to se the page, if not redirect to the registration page
