Export Excel |
[eluser]Arivusudar[/eluser]
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..
[eluser]Gaz[/eluser]
What are you passing to the to_excel() function? You need to use it like this Code: $query = $this->db->get(); Obviously if $this->db->get() returns nothing, the call to to_excel() will fail. Cheers, Gaz. |
Welcome Guest, Not a member yet? Register Sign In |