Codeigniter MVC Framework PHP

First sample program – CodeIgniter

Step 1 : In controller, create a file name “sampleController.php” on below path path: C:\xampp\htdocs\CodeIgniter\application\controller. Write following code: <?php class sampleController extends CI_Controller {   public function __construct() { parent::__construct(); }   //This is Default function of controller public function index() { //Loading view file sampleView.php $this->load->view(‘sampleView’); }   public function Hello() { //Loading view […]

Codeigniter MVC Framework PHP

Static Pages In CodeIgniter

Static Pages In CodeIgniter The primary thing you’re going to do is set up a controller to handle static pages. A controller is basically a class that helps retain work. It is the stick of your web application. For example, when a call is made to: http://abc.com/cities/news/10 We might imagine that there is a controller […]

Codeigniter MVC Framework PHP

About Codeigniter

About Codeigniter Codeigniter was created by EllisLab, and is now a project of the British Columbia Institute of Technology. CodeIgniter is a powerful PHP MVC framework with a very small footprint; it is powering the next generation apps, built for developers who need a simple and elegant toolkit to create full featured web applications. Codeigniter […]