Welcome Guest, Not a member yet? Register   Sign In
Drop Down List Unable to Pass Value
#5

[eluser]dnc[/eluser]
Also you can do a var dump instead of the return in your model to be sure the drop down variable value is being passed.

Code:
Model
public function set_user(){
                
        $data = array(
        'username' => $this->input->post('username'),
        'password' => $this->input->post('password'),
            'name' => $this->input->post('name'),
            'email' => $this->input->post('email'),
            'title' => $this->input->post('title'),
            'groupId' => $this->input->post('groupId')
        );


        var_dump($data);
        exit();
        
        //return $this->db->insert('user', $data);
    }


Messages In This Thread
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 09:53 AM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 10:36 AM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 08:33 PM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 08:55 PM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 09:05 PM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 10:18 PM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 10:26 PM
Drop Down List Unable to Pass Value - by El Forum - 07-04-2012, 11:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB