When i click menu item it should show me all the items related to it in next page.how to do that ? :   I want to display all my Items related to menu in next page.For example i have 
  3 menus (Engineering,Medical,Programming).and when i click at programming it 
  should show all books related to programming in next page.
   Please help how to do it? 
  
           <ul class="nav navbar-nav navbar-right">
            <?php
              $res=$dbcon->query("SELECT * FROM users");
             while($row=$res->fetch_array())
             {
              ?>
              <li><a href="pages.php"><?php echo $row['first_name']; ?></a></li>      
              <?php
               }
               ?> </ul>