<table width="300" border="1">
<tr>
<td>
<div class="tourmain">
  <?php    
        $result=mysql_query("SELECT * FROM foodmenu where food_type = 'Appetizers' and restaurant_name = 'Chili's "); 
        while($row=mysql_fetch_array($result)){
             ?>
    <dl>
        <dt><a href="food.php?id=<?php echo $row['foodID'];?>"><img src="<?php echo $row['food_img'];?>" width="280" height="200" /></a></dt>
      <dd>
       <span><?php echo $row['food_type'];?></span>
        </dd>
  </dl>
     <?php }?>
</div>
</td>
<td><div class="tourmain">
  <?php    
        $result=mysql_query("SELECT * FROM foodmenu where food_type = 'Main Courses'"); 
        while($row=mysql_fetch_array($result)){
             ?>
    <dl>
        <dt><a href="food.php?id=<?php echo $row['foodID'];?>"><img src="<?php echo $row['food_img'];?>" width="280" height="200" /></a></dt>
      <dd>
       <span><?php echo $row['food_type'];?></span>
        </dd>
  </dl>
     <?php }?>
</div>
My problem is when I'm inserting two values inside the $result, it display empty in the table column. E.g. Select * from foodmenu where food_type='Appetizers' and restaurant_name='Chili's', this shows empty result in the table column.
But when Select * from foodmenu where food_type='Appetizers', it will display all the food_type with value 'Appetizers'.
Why the selected restaurant key in cannot display the result relative to its food_type? May I know any solutions for that?
 
     
    