If u want to create this array:
Code:
<?php
$array = array("SF"=>array('film1', 'film2', 'film3', '...'), 'Action'=>array('film1', 'film2', 'film3', '...'));
?>
and then you can output it using this:
Code:
<?php
foreach($array as $key=>$cat) {
echo '<B>' . $key . '</b><br />';
foreach($array[$key] as $movie) {
echo ' --' . $movie . ',<br />';
}
}
?>