Category: Codeigniter Overview

Codeigniter Overview

Creating views in Codeigniter

Creating views in Codeigniter

A view is simply a web page, or a page fragment, like a header, footer, sidebar, etc. Views are stored in application/views/ directory. Let’s create a view. Example (first.php) The view file Example (Hello.php)...

Codeigniter Hello World

Codeigniter Hello World

Let’s make a new Controller in our project that will display our Hello World string when this controller url is requested by browser. Example (application/controllers/Hello.php) Output Here index() method is loaded by default when...