title: PHP Zend framework - Many layer menu
body: <p>In my application, i want to make a dynamic multi layer menu like this</p>
  
  <blockquote>
    <p>Toy1</p>
    
    <p>==>Sub toy1-a</p>
    
    <p>==>Sub toy1-b</p>
    
    <p>Toy2</p>
    
    <p>==>Sub toy2-a</p>
    
    <p>==>Sub toy2-b</p>
    
    <p>Toy3</p>
    
    <p>==Sub toy3-a</p>
  </blockquote>
  
  <p>I have created 2 table in database called parent-Menu contain Toy1,Toy2,Toy3 and sub-Menu contain Sub toy1-a, Sub toy1-b and their father which it belongs. I don't know how to retrieve database or algorithm to make this. Anybody have solution ?</p>