Ver Mensaje Individual
  #8 (permalink)  
Antiguo 17/04/2012, 13:24
rodomiro
 
Fecha de Ingreso: agosto-2010
Mensajes: 156
Antigüedad: 13 años, 8 meses
Puntos: 1
Respuesta: Verificar si existen varios registros en una BD

Cita:
Iniciado por santris Ver Mensaje
Puedes hacer un:

Código PHP:
echo $sql
y nos muestras el resultado??
Este es el $sql que me da:

Código PHP:
Ya existe Correo en otro proyecto SELECT FROM proyecto WHERE integrante1=[email protected] ' OR integrante1=[email protected] ' OR integrante1=' ' OR integrante1=' ' OR integrante1=' ' OR integrante2=[email protected] ' OR integrante2=[email protected] ' OR integrante2=' ' OR integrante2=' ' OR integrante2=' ' OR integrante3=[email protected] ' OR integrante3=[email protected] ' OR integrante3=' ' OR integrante3=' ' OR integrante3=' ' OR integrante4=[email protected] ' OR integrante4=[email protected] ' OR integrante4=' ' OR integrante4=' ' OR integrante4=' ' OR integrante5=[email protected] ' OR integrante5=[email protected] ' OR integrante5=' ' OR integrante5=' ' OR integrante5=' '