Skip to content Skip to sidebar Skip to footer

Tutorial on Creating a Web Course Registration Using Codeigniter: Admin Login [Bagian 14]

The focus of writing this time will be discussing the creation of an admin page. Unlike the previous article which discussed how to create a page user for prospective course applicants.

However, if the reader still wants toreview making process website registration of this course, the author has provided link previous article.

Read also:

Immediately the author explains the steps in creating an admin page.


1. Make files Sadmin.php in the folder C:\xampp\htdocs\inwepo\application\controllers then add function index like this:

load->view('login');		}	} ?>

Purpose of manufacture controller this admin to display the page login admin at folder views.

2 Creating files login.php in the folder C:\xampp\htdocs\inwepo\application\views then enter the following program snippet:


Halaman Admin

To be able to enter admin dashboard must enter username and password first. In this case, you can enter usernames: admin and password: admin according to record which has been entered in table tb_user.

Well, then to run the application, the way is by typing the URL http://localhost/inwepo/sadmin. It will look like the image below:

The author also only provides a few snippets of the program for login.php. Readers candownload source code sadmin.php and login.php at the end of this article.

Download Source Code