Page 1 of 1

Convert Excel sheets to HTML page

Posted: Mon Sep 22, 2008 10:59 pm
by harish.T
Hello.

I want Convert Excel sheets to HTML page using only php script .

So please help me

Thanks and Regards
Harish

Re: Convert Excel sheets to HTML page

Posted: Sat Sep 27, 2008 7:30 am
by LuckyShot
Hi Harish,

Can you convert (or save as) the Excel files into CSV (Comma Separated Values)??
It is nearly the same and Microsoft Excel reads it perfectly.

CSV syntax is very simple: a comma goes to the next column and a line break to the next row:

Code: Select all

a1,b1,c1,d1
a2,b2,c2,d2
...
You can parse that easily with PHP.

If you must read XLS files, try searching php "excel|xls|csv to html|php"

Hope that helps.