View Full Version : need help with a form of defined access

08-18-2007, 04:04 AM
Im needing help setting up a form of Access defined for a user.

In a table iv set different types, and set to 0 and 1.

Im needing help making a php if statement that will print the HTML inside the if statement, for each ifstatement true.. which can possibly be all.

Reason be,
The 0 and 1 can be chagned by the admin in the user profile page
each php if statement looking to see if 1 is there, will display a link to a form or another protected page

08-18-2007, 04:59 AM
if($permission == 1)
echo '<a href="supersecret.html">Super Secret Page</a>';