<table> <?php while ($row=mysql_fetch_array($result)) { ?> <tr> <td><?php echo $row['campo'];?></td> <td><?php if ($row1=mysql_fetch_array($result)) echo $row['campo'];?></td> </tr> <?php } ?> </table>