大家看看代码<table>
   <?   while($result=$db->result($query1)){?>
     <tr>
    <td><img src='<?=$result[pic_path]?>' width='150' height='180'></img></td>
 </tr>
 <tr>
     <td><?=$result[pic_title]?></td>
 </tr>
 <? }
  $db->free($query1);
  $db->close();
                                         ?>
</table>下面是显示效果