Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/04/2020, 17:33
Avatar de petit89
petit89
 
Fecha de Ingreso: marzo-2011
Mensajes: 1.135
Antigüedad: 13 años, 1 mes
Puntos: 170
Respuesta: Consultar dos estados en PHP

Código SQL:
Ver original
  1. "SELECT * FROM table_public_article WHERE article_id=".$_GET['article_id']." AND (estado=2 OR estado=3)"
__________________
█ WebHosting / Reseller a bajo costo | Uptime Garantizado | Soporte en Español e Ingles
¿Te sirvió la respuesta? Deja un +1 (Triangulo negro al lado derecho)