Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

foreach comma separated string php

$variable = 'value1, value2, value3, value4, value5';
   $var=explode(',',$variable);
   foreach($var as row)
    {
    //do your code here
    }
 
PREVIOUS NEXT
Tagged: #foreach #comma #separated #string #php
ADD COMMENT
Topic
Name
6+7 =