Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/05/2012, 12:39
Avatar de oscartt67
oscartt67
 
Fecha de Ingreso: abril-2012
Ubicación: fonollosa
Mensajes: 481
Antigüedad: 12 años
Puntos: 97
Respuesta: duplicidad de información de un if

A ver si esto sirve...

Código PHP:

$sql
=mysql_query("select disponibles from estadosskill5 where disponibles<>0"
if(
mysql_num_rows($sql)==0){
            echo 
"<table border='0' align='rigth'>"; echo "<br>"
            echo 
'<td class="estilo2" align="left"><input type="image" src="images/alerta.gif" width="40" height="35"/>'
            echo 
"<td class='estilo2' align='left'>Alarma por: No hay agentes disponibles</td>"
            echo 
"</table>"
 } 

Saludos.