Ver Mensaje Individual
  #7 (permalink)  
Antiguo 03/04/2009, 09:29
majony
(Desactivado)
 
Fecha de Ingreso: diciembre-2008
Mensajes: 421
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: Que sea publico o privado

Exacto Gator hice esto
Código php:
Ver original
  1. $listado = mysql_query("select * from noticia where categoria='$categoria' and estado=1");
  2.  $nfilas = mysql_num_rows ($listado);
  3. if ($nfilas > 0)
  4.       {  /// todas mis operaciones
  5.        }
  6.       else
  7.       echo (" <center> No existen noticias Publicadas... </center>");
  8.       mysql_close($link);

Me funciona perfectamente Muchas Gracias