I have a site that is going to be member only. I have the database and tables set up, but now I am perplexed at how to do this....
I want to select everything from the table AUTH, which has the authorization permissions for section section of the website. A 1 would allow access, and a 0 would indicate not allowed and they would be redirected. I will be using sessions for this.
Once I get this information from the database- what do I do to make each field result a Variable so that I can pass it on to the session? I need to know what I need to do basically to get the Results into a PHP variable using the field name from the table.
I can get the information out of the database- it says that the query was sucessful, but how do I get the data? LOL Sorry I just wanted you guys to understand my question.