Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/12/2010, 14:20
LeandroGiussani
 
Fecha de Ingreso: junio-2010
Mensajes: 19
Antigüedad: 13 años, 10 meses
Puntos: 3
Respuesta: Problemas con Imagenes en PHP

Cita:
Iniciado por jodatelo Ver Mensaje

$consulta2 = "Select * from manzanas where id=".$variable2;
$rsconsulta2 = mysql_query($consulta2)
or die ("No puedo ejecutar");
$datos2=mysql_fetch_array($rsconsulta2);
?>
<tr><td>
<?
//CHEQUEAS QUE ECXISTA LA IMAGEN
if($datos2["foto1"]){
?>
<img title="<?php echo $datos2["nombre"]; ?>" class="entrybody_img" height="64" src="images/<?php echo $datos2["foto1"]; ?>" width="60" align="left" border="0" />
<? }?>
</td> <td>
//CHEQUEAS QUE ECXISTA LA IMAGEN
if($datos2["foto2"]){
<img title="<?php echo $datos2["nombre"]; ?>" class="entrybody_img" height="64" src="images/<?php echo $datos2["foto2"]; ?>" width="60" align="left" border="0" />
<? }?>
</td>
</tr>
creo q ahi andaria!