Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/12/2005, 15:54
Avatar de Keleriano
Keleriano
 
Fecha de Ingreso: junio-2002
Ubicación: Granada
Mensajes: 133
Antigüedad: 21 años, 9 meses
Puntos: 0
Básicamente es meter tu tabla dentro de otra que te saque las columnas. No lo he probado pero creo que sería algo así:

Código:
<table align="center">
<tr>
<?php
$numColumnas = 2; //Pon aquí el numero de columnas que quieras tener
$i = 0;
while ($row= mysql_fetch_array($resultado)){ 
?>
<td>
<table width="231" border="0" align="center" cellpadding="0" cellspacing="0" class="texto" background="images/promociones_05.png">
  <tr>
    <td colspan="4" height="27" background="images/promociones_03.png"><?php echo $row[destino]; ?></td>
  </tr>
  <tr>
    <td colspan="2" height="80" align="center"><img src="<?php echo $row[imagen]; ?>" height="70" width=="70"></td>
	<td colspan="2" height="80"><?php echo $row[destino]; ?></td>
  </tr>
  <tr>
    <td colspan="4" height="31" background="images/promociones_06.png"><?php echo $row[destino]; ?></td>
  </tr>
  <tr>
    <td height="36"><img src="images/promociones_07.png"></td>
	<td height="36"><img src="images/promociones_08.png"></td>
	<td height="36"><img src="images/promociones_09.png"></td>
	<td height="36"><img src="images/promociones_10.png"></td>
  </tr>
</table>
</td>
<?php
  $i++;
  if ($i==$numColumnas){
	echo '</tr><tr>';
	$i = 0;
  }
} // FIN DEL WHILE
?>
</tr>
</table>

Última edición por Keleriano; 05/12/2005 a las 10:46