Welcome Guest, Not a member yet? Register   Sign In
Codeigniter passing checkbox array values to mysql database
#5

[eluser]Unknown[/eluser]
Maybe you should check that through below way

Code:
$types = $this->input->post("type"); // It will be array

if( ! is_array($types)) throw new Exception("Type is required");


Messages In This Thread
Codeigniter passing checkbox array values to mysql database - by El Forum - 05-19-2014, 08:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB