hi guys,
can you please help me with this loop:
$cat_array = array('Music Festival','Theatre');
$count = count($cat_array);
for($j = 0; $j < $count; $j++) {
echo "<ul class=\"pods\">";
createNewsSections($cat_array[j]);
echo "</ul>";
}
it's creating the ul tags in html but the function (createNewsSections) isn't working unless the value is hardcoded...
Can you please help?
thanks