php comma separated string add apostrophe 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
}