Re: Mostrar imagen cuando exista algo

From: Date: Thu, 15 Jul 2004 21:04:52 +0000
Subject: Re: Mostrar imagen cuando exista algo
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-50252@lists.php.net to get a copy of this message
Pedro Matabuena wrote:
Hola alguien sabe donde esta mi error?, creo que es de sintaxis, lo que quiero hacer es que cuando no exista nada en el día en un campo me arroje una imagen y cuando si muestre la otra, gracias
    $checa_buzon=mysql_query("select * from fmonitoreoretroalimentacion
where acd='$registroacd' AND fechaactual='$muestrafechadiaactual' ", link ) ;
$link !!!
                if ($checa_buzon=!'')
        {
                  <img src=\"file:///D:/Intranet%20HP/gif/buzon_apagado.gif\"
alt=\"\" height=\"30\" width=\"33\" border=\"0\">
                    }
        else
        {
            <img src=\"file:///D:/Intranet%20HP/gif/buzon_prendido.gif\"
alt=\"\" height=\"30\" width=\"33\" border=\"0\">
        }
Bye. -- Juan Francisco Giordana email: python@nks.com.ar www: http://python.nks.com.ar ICQ/UIN.: 162252809 Linux registered user Nº 294733

« previous php.general.es (#50252) next »