foreach php string with separated by comma code example
Example: foreach comma separated string php
$variable = 'value1, value2, value3, value4, value5';
$var=explode(',',$variable);
foreach($var as row)
{
//do your code here
}
$variable = 'value1, value2, value3, value4, value5';
$var=explode(',',$variable);
foreach($var as row)
{
//do your code here
}