Ver Mensaje Individual
  #14 (permalink)  
Antiguo 29/04/2008, 17:29
c_keeper
 
Fecha de Ingreso: febrero-2007
Mensajes: 450
Antigüedad: 17 años, 2 meses
Puntos: 3
Re: No encuentro la falla

$sql="select idUser from usuario where login="'.$txtUsuario.'" and password='".$txtPasswd."'";

$sql="select idUser from usuario where login like "'.$txtUsuario.'" and password like '".$txtPasswd."'";

Si ninguna de estas dos lineas funciona, tienes la tabla mal.

No es un tema para el que haga falta mucho conocimiento, eh.