Welcome Guest, Not a member yet? Register   Sign In
What's the best way to validate data in both controllers and models, before creating/reading/updating/deleting this data
#3

[eluser]InsiteFX[/eluser]
Code:
$dealership->name = $this->input->post('name', TRUE);  // TRUE use CI xss_clean security!

Or you can turn it on for global use in ./application/config/config.php


Messages In This Thread
What's the best way to validate data in both controllers and models, before creating/reading/updating/deleting this data - by El Forum - 02-21-2012, 03:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB