Ver Mensaje Individual
  #13 (permalink)  
Antiguo 18/04/2006, 03:01
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
chuanma

Muchas gracias, echo es exactamente lo que buscaba que buscaba.


uamistad

Si es justamente eso, pero al final el titulo, lo e metido en el mismo <td> de la foto:

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

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 
"</table>"
bichomen
__________________
"Se sabe con exactitud, con cuanta imprecisión, se sabe algo"
Linux Registered User #320332