Welcome Guest, Not a member yet? Register   Sign In
set_value() only working if the field is part of validation - CI 2.0
#9

[eluser]Phil Sturgeon[/eluser]
If you are repopulating a form its most likely you are using Form_validation. set_value() is a helper specific to that and $this->input->post() is just a generic helper for working with $_POST. You could say $_POST['name'] would be a third way of repopulating the form. :-P


Messages In This Thread
set_value() only working if the field is part of validation - CI 2.0 - by El Forum - 01-06-2011, 06:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB