11-01-2016, 05:56 PM
So I've established the following plan:
When the page is foreach(ing) for the and performs the function, I need it to also check if it is in the array for the current user. So if I add:
<pre></pre>
when it performs I need it to also check if it is in the array of .
Any thoughts?
When the
Code:
admin_user.php
Code:
$permissionData
Code:
in_array
<pre>
Code:
foreach($currentuserPermission as $currentperm){
$currentperm_ids[] = $currentperm->permission_id;
}
when it performs
Code:
in_array
Code:
$currentperm_ids
Any thoughts?