Published
- 1 min read
explode foreach
The solution for this is noted below
explode foreach
Solution
$var = 'a/asdas/fgdfg/zfdvs/sdfh';
$array = explode('/', $var);
foreach ($array as $values)
{
//
}
Try other methods by searching on the site. That is if this doesn’t work