Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/06/2008, 13:52
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
Consulta por valores..

Se puede hacer esto???

Código PHP:
 "SELECT * FROM distribuidores WHERE estado = 1, 2, 3"
lo q quiere es mostrar los estados con esos valores... esta bien la consulta?
pq me da este error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 2, 3' at line 1
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...