Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/11/2005, 07:41
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Si quiere ambos debiera usar OR.

Código PHP:
$result "SELECT sid, aid, title, time, hometext, bodytext, ihome FROM noticias WHERE catid='2' OR catid='0' order by time DESC LIMIT 0,2"