Welcome Guest, Not a member yet? Register   Sign In
Export Excel

Hi Friends,

How can i export excel my list of records form database.. i have seen more code but not working properly.. plz help me anybody.. i have used http://codeigniter.com/wiki/Excel_Plugin/ plugins but it showing error

Fatal error: Call to a member function field_data() on a non-object in D:\xampp\htdocs\vRecruit\vRec\plugins\to_excel_pi.php

How can solve this..

What are you passing to the to_excel() function? You need to use it like this

$query = $this->db->get();

Obviously if $this->db->get() returns nothing, the call to to_excel() will fail.


Theme © iAndrew 2016 - Forum software by © MyBB