Forum Moderators: coopster

Message Too Old, No Replies

PHP previligies

         

orion_rus

8:16 am on Nov 18, 2004 (gmt 0)

10+ Year Member



As many of u know what i'm writing the travel site.
I would have 5 usertypes:
Admin
User
Tour firm
Hotel
House of the rest
How would be the best way to make them previligies, because: admin can add any number of tours, hotel house of the rest and so on, tour firm can add it too, but limited number of tours. Hotel can add only itself. House of the rest can add itself too and not more.
How is the best way to organize what structure in database with ordering previligies?
Thanks in advance)

coopster

11:17 am on Nov 18, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have you considered a bitwise solution? Maybe this old thread will give you some ideas...

MySQL / PHP LIKE Command [webmasterworld.com]