All pastes #420052 Raw Edit

Something

public text v1 · immutable
·published 2007-04-01 20:30 UTC
rendered paste body
<?php
$genres = array (
                                'Action'        =>      array (
                                                                'Terminator',
                                                                'Alien',
                                                                ),
                                'Drama' =>       array (
                                                                'Fahrenheit 9/11',
                                                                'The dog that lost his paw',
                                                                ),            
                                )
foreach ($genres as $c) {
while (list($k, $v) = each ($c)) {
          echo "$k ... $v <br />";
          }
          }
          
?>