[eluser]noviceCODER[/eluser]
it seems to be a big problem for me doing this all night,
first im not able to get the first_name from my database
in my members_model:
Code:
function validate()
{
$this->db->select('first_name');
$this->db->where('email', $this->input->post('email'));
$this->db->where('password', md5($this->input->post('password')));
$query = $this->db->get('registration');
if($query->num_rows == 1)
{
return TRUE;
}
}
i can't find a way to make this right
please guide me tnx
Thanks for reply