Tag: MVC

Codeigniter

<?php
    class articles extends Controller{
    function index(){
      $this->load->model('articles_model');

      $data['result'] = $this->articles_model-><span>getData</span>();
      $data['page_title'] = "CI Hello World App!";

      $this->load->view('articles_view',$data);
   }
  }
?>