How to Create and Load View in CodeIgniter

A view is an HTML or PHP file in the CodeIgniter which is used to display output on the browser.

From where the user can interact with the website and perform actions.

Views are loaded by the controller and one view can load other views on the page.

In this tutorial, I create a simple demonstration where I create a view and load it from the controller.

How to Create and Load View in CodeIgniter

Read more

How to Import Data in MySQL with CodeIgniter 3

CSV files are easier to maintain and can be used for export and import data in the web application.

For data import first, need to allow the users to browse and upload the file. In CodeIgniter, there is upload library available that makes it easier to handle file uploads.

In this tutorial, I show how you can import data of CSV file in the MySQL database table in the CodeIgniter 3 project.

How to Import Data in MySQL with CodeIgniter 3

Read more