Ver Mensaje Individual
  #15 (permalink)  
Antiguo 18/04/2006, 03:37
Avatar de bichomen
bichomen
 
Fecha de Ingreso: junio-2003
Ubicación: Barcelona y alrededores, España
Mensajes: 877
Antigüedad: 20 años, 10 meses
Puntos: 2
Una pequeña modificación en el codigo:

Código PHP:
echo "<table style=\"text-align: center; margin-left: auto; margin-right: auto;\">";
echo 
"<tr>";

define"NUM_ROW"); 
$i 0;

while ((
$row1 mysql_fetch_array($result1)) && ($row2 mysql_fetch_array($result2)))

$ruta11 =  $row1['rutap'].$row1['foto'];
$ruta22 =  $row2['ruta'].$row2['foto'];

$ruta1 substr($ruta1129);
$ruta2 substr($ruta2229);

echo 
"<td><a href=\"$ruta2\"><img src=\"$ruta1\"></a><br />";
echo $[
'titulo']."</td>";
$i++;
if( 
$i NUM_ROW == )

       print 
"</tr><tr>";

}

echo 
"</tr>";
echo 
"</table>"
bichomen
__________________
"Se sabe con exactitud, con cuanta imprecisión, se sabe algo"
Linux Registered User #320332