December 2013
Intermediate to advanced
306 pages
6h 26m
English
You will always need a method to create users yourself from within an application, and will need to; manually enter their data rather than the user entering the data themselves. We're going to build functionality to allow you to create users one by one.
We'll need to create one file:
path/to/codeigniter/application/views/users/new_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/new_user.php file:<?php echo form_open('users/new_user') ; ?> <?php if (validation_errors()) : ?> <h3>Whoops! There was an error:</h3> <p><?php echo validation_errors(); ...Read now
Unlock full access