check out the foreach part
you could do like
or just use the for loop like I did above.PHP Code:$aString = "1, 2, 3, 4, 5";
$myArr = split(",", $aString);
foreach($myArr as $x ){
print $x;
}
![]()
|
Results 1 to 9 of 9
Thread: Loop thru an arrayThreaded View
|
Click Here to Expand Forum to Full Width |