Skip to content

Instantly share code, notes, and snippets.

@YuvrajKhavad
Last active January 2, 2019 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YuvrajKhavad/e19fa5d0e5a25517310057ab1b7714c8 to your computer and use it in GitHub Desktop.
Save YuvrajKhavad/e19fa5d0e5a25517310057ab1b7714c8 to your computer and use it in GitHub Desktop.
Controllar file of application.
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Employee extends CI_Controller
{
// This method will call when Employee controller called
public function index()
{
// Load header view, file location application\views\includes\header.php
$this->load->view('includes/header');
// Load content view, file location application\views\content.php
$this->load->view('employee/employee_list');
// Load footer view, file location application\views\includes\footer.php
$this->load->view('includes/footer');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment