This Simple tutorial will primarily focus on: Model-View-Controller basics Routing basics Form validation Performing basic database queries using “Query Builder” Adding logic to the controller : Create a file at application-package_folder/controllers/Pages.php with the following code. <?php class Pages extends CI_Controller { public function view($page = 'home') { } } You have created a class named Pages , with a view method that accepts one argument named $page . The Pages class is extending the CI_Controller class. This means that the new pages class can access the methods and variables defined in the CI_Controller class ( system/core/Controller.php ). The controller is what will become the center of every request to your web application. In very technical CodeIgniter discussions, it may be referred to as the super object . Like any php class, you refer to it within your controllers as $this . Referring to $this i...
it's always a good idea to keep track of your learning.