Jump to content

membership level


dirt

Recommended Posts

[!--quoteo(post=355634:date=Mar 16 2006, 02:10 PM:name=dirt)--][div class=\'quotetop\']QUOTE(dirt @ Mar 16 2006, 02:10 PM) [snapback]355634[/snapback][/div][div class=\'quotemain\'][!--quotec--]
i have created registry for new users.
how do i set the priorities of the members. for the user that chooses
package one can only choose one item if it is package two the user can choose
two items. how do i go about.
[/quote]

In your database in the users table where you store all the info for registerd users put a field in called "accesslevel" depending on what package the user picks, this gets set to 1, 2, 3 and so on. When the user wants to pick an item you check against the "accesslevel" field in the database to see if they have permission..

Link to comment
https://forums.phpfreaks.com/topic/5101-membership-level/#findComment-18084
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.