[Solved] PHP insert Tag CSS in arrays [closed]


If I’ve got your question then you might be looking for the following thing

$array = array('one' => Array ( 'count' => 2 ), 'two' => Array ( 'count' => 2 ), 'three' => Array ( 'count' => 2 ));

foreach($array as $key => $value){
    echo "<span class="red"> $key <em>({$value['count']})</em></span><br/>";
}

2

solved PHP insert Tag CSS in arrays [closed]