Convert Excel sheets to HTML page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
harish.T
Forum Newbie
Posts: 4
Joined: Tue Sep 02, 2008 2:14 am

Convert Excel sheets to HTML page

Post by harish.T »

Hello.

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

So please help me

Thanks and Regards
Harish
User avatar
LuckyShot
Forum Newbie
Posts: 13
Joined: Thu Sep 25, 2008 5:02 pm
Location: Barcelona

Re: Convert Excel sheets to HTML page

Post 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.
Post Reply