Codeigniter: How to populate a form in a controller


I have been recently acquainted with Code Igniter, and I'm loving it. Having used Zend Framework 1 and 2, and various other PHP Frameworks Code Igniter is very robust and easy to use. Codeigniter comes with a very handy form_validation helper class which you can use to validate, and populate the values back into a view when validation fails. But, how do you populate the form values that are already made it to the database, and repopulating into an EDIT form?

Posted By admin read more
Subscribe to RSS - codeigniter