Answer by Mitchell McKenna for codeigniter form prepopulation
June 13 2011, 8:20pm
You can use CI's form helper function set_value() which uses the $_POST and may save you some code testing if the $_POST value is empty because you can specify a default value if not set. Should be using this anyway if your using CI's form validation.
http://stackoverflow.com/questions/6333694/codeigniter-form-prepopulation/6337853#6337853