I have an array, and I imploded it into a string. Now how can i select each element from that string?
$shop['cat2'] = $cat2;
$allstring= implode(",", $cat2)
foreach ($allstring as $each_string_value){
}
This is not working as I am getting an error "invalid argument supplied foreach()