<?php do { ?>
  <table width="50%" border="0">
    <tr>
      <td><a href=""><img src="imagethumb.php?s=<?php echo $row_books['Image']; ?>&w=100" border="0" alt= <?php echo $row_books['Title']; ?>></a></td>
      </tr>

  </table>
  <?php } while ($row_books = mysql_fetch_assoc($books)); ?>

Displaye them in rows...I need colums of three
thanks in advance

try like this

<?
$i=0;
		while($row_books=mysql_fetch_array($books))
		{ 
		if( $i<3)
		{
		?>
		<a href="imagethumb.php?s=<?php echo $row_books['Image']; ?>"><img src="images/buttonname.gif" alt="<?php echo $row_books['Title']; ?>" width="72" height="19" border="0" /></a>
		<?
		$i++;
		}
		if($i==3)
		{
		echo "<tr>";
		$i=0;
		}
						 
		}
 
?>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.