I'm working through a book on PHP4, and have run into a stumbling block on arrays. Here's the question:

Question: Create a multidimensional array of movies organized by genre. This should take the form of an associative array with genres as keys ("Sci-Fi", "Action","Romance", etc.). Each of this associative array's elements should be an array containing movie names ("2001", "Alien", "Terminator", etc.).

The second half of the question involves looping through the array and printing out the genre with its associated movies.

<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
$movies = array (

action => array ( "Terminator" , "Indiana Jones" , "Abyss" ),
drama => array ( "Erin Brokovich" , "28 Days" ),
sci-fi => array ( "Fifth Element" , "Star Wars" , "Star Trek" ),
romance => array ( "Shakespere in Love" )


Am I on the right track?