Posts Tagged with "PHP"

A smart Codeigniter model for all functions

Saturday, June 11, 2011

10 Comments

Extending the Codeigniter Model class is a great idea to reduce the code in your model classes by adding some smart functions to it. After extending it, there is no need to write any code in your model for regular CRUD operations and Search functions. Instead only need to inherit from the new model class [...]

Continue reading...

Repopulate form fields in Codeigniter

Saturday, June 4, 2011

2 Comments

Codeigniter

Repopulating the form fields using the Codeigniter form helper functions will not work when there is not validation assigned to a field. This post explains a solution that can be used to solve this issue. The helper function set_value() is used for populating the values of the input boxes. The function rely on the CI [...]

Continue reading...