Issue with CodeIgniter 3

I want to get data from mysql with codeigniter 3.0. I can not get it. here is my code

[code]
require_once("./dhtmlx/samples/common/connector/scheduler_connector.php");
require_once("./dhtmlx/samples/common/connector/db_phpci.php");
$this->load->database(); // data feed

    $connector = new SchedulerConnector($this->db, "PHPCI");    
    $connector->configure(                                      
        "events",                                     
        "event_id",                                             
        "start_date, end_date, event_name"                      
    );                                                          
    $connector->render(); [/code]

This code seems fine.
Try to check demo from this article:
docs.dhtmlx.com/tutorials__conne … index.html
dhtmlx.com/x/download/regula … dhtmlx.zip