Associative Arrray

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dumlee
Forum Commoner
Posts: 33
Joined: Mon Jun 30, 2008 12:06 am

Associative Arrray

Post by dumlee »

Pls Explain following Array Element structure:

$GLOBALS['USER_LEVEL_PERMISSIONS'] =
array(
LEVEL1_USER_PERMISSIONS =>
array(
PERMISSION_LEVEL_ALL => array(LAB_PERSONAL_DETAILS => 1),
PERMISSION_LEVEL_ADD => array(LAB_REPORTS => 1)
),
LEVEL2_USER_PERMISSIONS =>
array(
PERMISSION_LEVEL_ALL => array(LAB_PERSONAL_DETAILS => 1),
PERMISSION_LEVEL_ADD => array(
LAB_REPORTS => 1,
LAB_CONTACTS => 1
),
PERMISSION_LEVEL_EDIT => array(LAB_CONTACTS => 1)

)
);
User avatar
highjo
Forum Contributor
Posts: 118
Joined: Tue Oct 24, 2006 1:07 pm

Re: Associative Arrray

Post by highjo »

Post Reply