xlsx to XML conversion php code for Codeigniter -


i looking php code converts xlsx(excel) xml file. looked everywhere couldn't anything. great if can guide me or share me her/her code?

thanks,

given tip mark baker gave can give guide how use phpexcel library

first of download phpexcel here. open zip file , extract entire content within classes folder third party folder

your third party folder shoud like

enter image description here

after create library named excel.php , place direct libraries folder - file shoud looke like

<?php if ( ! defined('basepath')) exit('no direct script access allowed');   require_once apppath."/third_party/phpexcel.php";  class excel extends phpexcel    {     public function __construct()   {         parent::__construct();     } } 

now have load library like

$this->load->library("excel"); 

and phpexcel available intended purpose example can use reader object like

$objreader = phpexcel_iofactory::createreader($inputfiletype); $objphpexcel = $objreader->load($filename); 

after have decide whether createwriter method suits needs or have build own export format.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -