Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/10/2007, 00:40
Avatar de Phoenix23
Phoenix23
 
Fecha de Ingreso: agosto-2007
Ubicación: 43.286211, -2.171349
Mensajes: 253
Antigüedad: 16 años, 9 meses
Puntos: 1
Clausula where

Hola a todos,

Estoy haciendo este select:

Select *
from DatosPersonales
Where DNI = '".$_POST['DNI2']."' or DNI = '".$_POST['DNI']."' or DNI = '".$_GET['DNI']."'";

No me funciona. Se puede poner mas de un $_POST y mezclados en el mismo where?

Gracias de antemano y saludos