Welcome Guest, Not a member yet? Register   Sign In
Easy way to check existence of a user in DB ? ( Newbie )
#1

[eluser]Unknown[/eluser]
Hi, i'm a CodeIgniter newbie, i'm developing a simple authentication system.

My validation controller (target of login form) looks like this:

Code:
$username = $this->input->post('username');
$password = $this->input->post('password');

// Here starts the code for checking the existence of the username && password...

Is there a simple way to check the existence of that user in that table ? I did not found it on the user guide.

Thanks in advance!

(Sorry for my english)


Messages In This Thread
Easy way to check existence of a user in DB ? ( Newbie ) - by El Forum - 05-06-2009, 08:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB