December 2013
Intermediate to advanced
306 pages
6h 26m
English
You will always need some method to edit users yourself from within an application. In this section, we will look at creating functionality to do just that: to update and edit user details.
We'll need to create one file:
path/to/codeigniter/application/views/users/edit_user.phpAnd amend the following two files:
path/to/codeigniter/application/controllers/users.phppath/to/codeigniter/application/models/users_model.phppath/to/codeigniter/application/views/users/edit_user.php file:<?php echo form_open('users/edit_user') ; ?> <?php if (validation_errors()) : ?> <h3>Whoops! There was an error:</h3> <p><?php echo validation_errors(); ?></p> <?php endif; ?> <table border="0" > <tr> <td>User First ...Read now
Unlock full access