![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
12/12/2009, 18:40
|
![Avatar de Vitesse92](http://static.forosdelweb.com/customavatars/avatar334208_1.gif) | | | Fecha de Ingreso: diciembre-2009 Ubicación: Internet
Mensajes: 145
Antigüedad: 15 años, 2 meses Puntos: 5 | |
Respuesta: ¿Como se añaden posts mas visitados y ultimas noticias en php? pues para las migas de pan esta sencillo...
solo tienes que agregar a los post el campo categoria y subcategoria..
y con respecto a los post mas visitas tienes que hacer un select * from noticias order by visitas desc y ahi esta(:
y para lo mas nuevo
seria
select * from noticias order by id desc
espero haber ayudado algo(: |