title: Trying to generate a list containing multiple variables from a multidimensional array
body: <pre><code>&lt;?php
  function itemList(){
      $items= array(
          "skateboard" =&gt; array(
              "name" =&gt; "Skateboard"
              "type" =&gt; "drawings"
              "namestripped" =&gt; "skateboard"
          ),
          "looklocal" =&gt; array(
              "name" =&gt; "Look Local"
              "type" =&gt; "graphic-design"
              "namestripped" =&gt; "looklocal"
          ),
      );          
      reset($items);          
      while (list(, $value) = each($items)) {
          echo '&lt;li class="item '. $value["type"] .'"&gt;';
          echo '&lt;a class="fancybox" rel="group" href="images/portfolio/' . $value["type"] . '/'. $value["namestripped"] . '_l.jpg"&gt;';
          echo '&lt;img src="images/portfolio/' . $value["type"] . '/'. $value["namestripped"] . '.jpg" alt="' . $value . '"/&gt;';   
          echo '&lt;h3&gt;' . $value["name"] . '&lt;/h3&gt;';                                                   echo '&lt;/a&gt;';
          echo '&lt;/li&gt;';
      }
  }
  ?&gt;
  </code></pre>
  
  <p>How badly have I messed up the syntax? When I try this code it doesn't output anything, not even the HTML.</p>