Logic question


Posted on 16th Feb 2014 07:03 pm by admin

im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

-the administrator of alliance have 10 slots for creating ranks ... each rank have it's own permissions (in total they are 9 permissions possible)
something like
rank 1 = all permissions
rank 2 = just 3 permissions from 9
rank 3 = 8 permissions
they are not single level permissions like 1 = admin , 2 = user they are like this
1 = allow to see messages, 2 = allow to kick members etc

my question is what it will be the best method to implement this ... i was thinking about something but it's space taking
create 10 columns in table for rank name and another 10 for rank permissions.
but it does seem a little messy in this way.
is there another solution ? thank you

No comments posted yet

Your Answer:

Login to answer
315 Like 49 Dislike
Previous forums Next forums
Other forums

Procedural to OOP
ohn Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pri

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

phpmailer class & pop.gmail.com?
Code: <?php
$mail->IsSMTP();
$mail->Host = "pop.gmail.com";

Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title..

show random images
hey guys

can someone please suggest a way in which the following code can be edited so it onl

Conditions of info record - Error
When i created GR (901) and PO create automatic my PBXX is obtain the net price of info record but

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash