different level of membership

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dirt
Forum Newbie
Posts: 1
Joined: Thu Mar 16, 2006 12:54 pm

different level of membership

Post by dirt »

now i have created a different level of registered user for a book store.
how do i set their priority base on 1st membership can only borrow one book
2nd membership can only 2 books and a trial membership where he can have 10 day trial period where he can only borrow 2 books.
help is very much needed... advance thanks.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

do you have anything off of which you're currently working? your question is very vague and without further knowlege of the system you have (or are trying to build), it's tough to answer.

I'd say (for starters), you should use sessions and set a session var based on the user group to which your users belong. You can then set 'permissions' accordingly.
Post Reply