Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/08/2009, 15:49
Avatar de bng5
bng5
 
Fecha de Ingreso: junio-2009
Ubicación: 127.0.0.1
Mensajes: 269
Antigüedad: 14 años, 11 meses
Puntos: 24
Respuesta: problema con consulta sql

Podrías intentar agregarle parentesis:

SELECT datos,precio FROM articulos WHERE (estado='ok' OR estado='stock' OR estado='almacen') AND precio='1000'