Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Todlerone[/eluser]
[quote author="techgnome" date="1291238848"]Don't use the username as the fkey... use the ID... which is already being set in your script there.

-tg[/quote]
Thanks again techgnome. I set the user_id to a foreign key. However when I create a new user the field still is left blank.

Could I just add it to the additional data array?
Code:
$username  = substr(strtolower($this->input->post('first_name')), 0, 1).strtolower($this->input->post('last_name'));

$additional_data = array('first_name' => $this->input->post('first_name'),
                                     'last_name'  => $this->input->post('last_name'),
                        'username'  => $username);


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 12-01-2010, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB