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

Did you know?Explore Trending and Topic pages for more stories like this.
-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

PRotect my POST DATA... FROM HTML ATTACKS
I need to like let's say

If a user submit's his Prayer and he put's <meta refresh stuf

PHP4 to PHP5 Conversion
Hi Everyone,

I am working on a site that is built up on PHP4 and each page is being started f

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

How to show a complete textarea ??
I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 c

Thread in PHP
Thread in PHP
Some basic use and basic code for thread in php
This is my question?

max() problem
I have a while loop to get image names.
Code: $imagequery = mysql_query("SELECT * FROM ad_i

AutoChoosing a CSS file based on URL
Hey everyone,

I have a site that has multiple URLs and CSS files.

Based on the URL tha

storing results of a function - previous result overwritten with new result
I have created a function to validate input.

function validate_dimension($value,$name) {
<

Mysql query, two times?
Hello to all,

I'm new to php coding and i like it alot. I need help with some noob stuff.

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