tengo este codigo en mi web
Código PHP:
<?php
$fotico1=(mysql_result($result,0,'foto1p'));
if(isset($fotico1) and strlen(trim($fotico1))>0)
{
print "<img src=venta/$fotico1 width=159 height=119 border=1>";
}
else
{
print "<img src=venta/sinfoto.png width=159 height=119 border=1>";
}
?>
Alguien sabe como hacerlo?
Muchas gracias.