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

shift numbers with paging
Hi

How would i be able to display 10 numbers 1 2 3 4 5 6 7 8 9 10
and when I click next

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

How to display random record from table?
I have the following code:

Code: <?php
$display_block .= "<input type=

b+ tree
Hi
can every body help me about b+ tree ?(insert & delete)

same querie, or a new one??
Hi guys,

I'm still working on this drop down list. I've got the actual drop down list to wor

dinamic "textboxes"?
Ey all, my first post here, i hope its not a hard one

I display mysql results in a table

Format timestamp from mysql
When I tried this:
Code: date("m/d/Y H:i A", $row['timestamp'])
I got 12/31/1969 18:

include
Hi I have this way of licensing my PHP application, and I want to know if you guys can answer some q

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

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