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
163 Like 38 Dislike
Previous forums Next forums
Other forums

Displaying pictures
i have worked my way through storing images in directory and storing the location in mySQL db.Now i

an interesting question
Greetings folks, got to ask an interesting question...

let say
i have created a function s

PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the

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..

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Update not working ... please help
Hi,

I am trying to update a row using an edit form by passing id of the row .. but it is not

How to make a input/output field with multiple lines
Hello.
I put a input/output field on the screen but I could not change height of it. I need to

How to refresh a parent page from a modal popup
Hi,I have a modal popup in which I need to upload a file and store in the database should give a mes

I need an iframe that calls up a different page according to the date
hi

I don't know any php (only html) and I urgently need to do the following:

I need a

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