Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/04/2008, 16:16
sequi
 
Fecha de Ingreso: febrero-2008
Mensajes: 14
Antigüedad: 16 años, 2 meses
Puntos: 0
Re: Problema con php 5.2.5 (funcionaba en php 4.3)

Código PHP:

$result
=mysql_query('select * from noticias where categoria="general" order by fecha Desc LIMIT 10');
$totalregistros=mysql_num_rows($result);
while(
$row=mysql_fetch_array($result)){

//lo que imprimo con echo.... 

}mysql_free_result($result);