PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Well i have a little problem concerning the result of athentfication ...
In fact i enter a login & password in textfield (everything s normal here :)
and the result of my request goes wrong each time it called login.inc ->
function check_user($login, $password) {
return $this->DbSelect("select * from clients where login = '$inp_login' AND password = '$inp_password'");
}
so you're just returning the database handler, and not an actual result?
that's kinda odd.....you might want to do some matching against the username and password against what they entered...