Welcome Guest, Not a member yet? Register   Sign In
$this->db->insert($_POST); Is there a way to exclude one field?
#3

[eluser]Dam1an[/eluser]
Although zwero's code is valid, its generally good practice to avoid doing so
You'll probably need to validate all the data before you add it to the database
You could also potentially have other unexpected things in there
I also prefer to use $this->input->post('var') instead of $_POST['var']


Messages In This Thread
$this->db->insert($_POST); Is there a way to exclude one field? - by El Forum - 04-29-2009, 03:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB