I have an array included in auxiliary arrays like
Array
(
[0] => Array
(
[customers] => Array
(
[id] =>
)
[Products] => Array
(
[id] =>
)
[Models] => Array
(
[id] => 151
[SubModels] => Array
(
[ol] =>
)
[Noice] =>
)
)
I want to make a switch statement in an array
so something like this
switch($array){
case Products:
case customers:
case Models:
}
how would i do that. Thanks
source
share