Apply for Zend Framework Certification Training

Codeigniter





Step 1

In model file 
 defined('BASEPATH') OR exit('No direct script access allowed');

class report extends CI_Model 
{
	function count_report() 
	{
            $second_db = $this->load->database('second_db', TRUE);
		
         }
        function employee_list()
        {
            $ussdRequest = $second_db->query("SELECT MID(created_on,1,10) AS 
            days,number,service,created_on FROM `tbl_dnd` WHERE 
            `created_on` BETWEEN  '$formDT' AND '$toDT' AND service='vgtrfd'")->result_array();


        }

}                                    

< First Last >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top