So any body have a class which can write data in excel file or export data in excel file?
Any idea?
I have used Excel Writer FROM ( http://www.phpclasses.org/browse/file/8061.html ) but when I export html content it shows it differenty.
If you have any ready made class please send me.
Thanks.
---------------------------------------
Hey I got the alternate solution ---------
instead of xml use tab delimited file...
export data as tab delimited file use http://www.ebrueggeman.com/blog/php/generating-php-comma-csv-and-tab-delimited-files/
and import using .... file function... Its quite simple now....
$arr_rows = file("Search_Export.xls", FILE_IGNORE_NEW_LINES);$arr_field_names = explode("\t", $arr_rows[0]);
If you have any more solutions please add yours...
No comments:
Post a Comment