Using in_array can be droped one foreach
$result = array();
foreach ($array['Permission'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
Using in_array can be droped one foreach
$result = array();
foreach ($array['Permission'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
Using in_array can be droped one foreach
$result = array();
foreach ($array['Permision']$array['Permission'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
Using in_array can be droped one foreach
$result = array();
foreach ($array['Permision'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
Using in_array can be droped one foreach
$result = array();
foreach ($array['Permission'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
Using in_array can be droped one foreach
$result = array();
foreach ($array['Permision'] as $key => $value) {
if (in_array($key, $array['Moduleid'])) {
$result[$key] = $value;
}
}
lang-php