exploser foreach
$var = 'a/asdas/fgdfg/zfdvs/sdfh';
$array = explode('/', $var);
foreach ($array as $values)
{
//
}
Envious Elk
$var = 'a/asdas/fgdfg/zfdvs/sdfh';
$array = explode('/', $var);
foreach ($array as $values)
{
//
}