Código PHP:
<html>
<head>
<title>CATÁLOGO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table align=center>
<table width='150' height='100' border='0'>
<?php
for($i=0;$row=mysql_fetch_assoc($qry);$i++){
echo " <tr>";
echo " <td width='100'>$row[$i]</td>";
echo " </tr> ";
}
?>
</table>
</body>
</html>
Código PHP:
while($row=mysql_fetch_assoc($qry)){
echo $row['producto']."<br>";
echo $row['precio']."<br>";
echo $row['descripcion']."<br>";
echo "<img border='0' widht='100' height='75' src='images/". $row['fotos']. "'><br>";
echo $row['categoria']."<br>";
}