Código PHP:
$a = 1;
echo "<center>";
while ($a < $encontrados) {
echo("<table width=600>");
echo("<tr>");
$j = 0;
while ($j < 4) {
// armo la tabla
$imag = $imagen;
$desc = $descripcion;
echo("<td width=150 class=gal>");
echo("<center>");
if ($a + $j <= $encontrados) {
echo("<font size='1' face='Verdana'>
<img border='1' bordercolor='#000099' src='$imag' width='80' height='80'><br>
<font color='#000099'><b>$desc</b></font><br>$selec_form</font><br><br>");
}
echo("</center>");
echo("<td>");
$j += 1;
}
$a += 2;
echo("</tr>");
echo("</table>");
}
echo "</center>";
![Pensando](http://static.forosdelweb.com/fdwtheme/images/smilies/scratchchin.gif)
Gracias