Answers for "explode foreach"

PHP
3

explode foreach

$var = 'a/asdas/fgdfg/zfdvs/sdfh';
$array = explode('/', $var);
foreach ($array as $values)
{
//
}
Posted by: Guest on April-19-2020

Browse Popular Code Answers by Language