Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/05/2012, 13:36
wendyl
 
Fecha de Ingreso: marzo-2012
Ubicación: Bogota
Mensajes: 177
Antigüedad: 12 años, 1 mes
Puntos: 2
Respuesta: duplicidad de información de un if

Cita:
Iniciado por oscartt67 Ver Mensaje
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.
gracias me sirvio a la perfeccion