Jump to content

Excel to PHP/HTML webpage


thomasw_lrd

Recommended Posts

I've already made this work, but I'm wondering if anybody has any different/better ideas.

 

I have an excel spreadsheet that we want to turn into a dynamically created webpage. I used excels export to a webpage, and I used yellowpipe.com to convert the source to php, so I didn't have to hand code the entire table.  This works just fine.  I'm currently going through the entire page to add the actual database calls.

 

Just wondering if somebody with more experience has ever tried to do something similar?  Any pros/cons, different ways to accomplish this are welcome.

Link to comment
https://forums.phpfreaks.com/topic/249404-excel-to-phphtml-webpage/
Share on other sites

There are a couple of PHP 3rd party libraries for Excel:

 

http://phpexcel.codeplex.com/

http://code.google.com/p/php-excel/

 

Not sure if one is better than the other. If the sheet is in CSV format there is always, fgetscsv which parses CSV files for you.

Thank you for your reply. 

 

We are currently working on a database engine to replace our current inefficient use of spreadsheets. 

 

I was given a copy of a spreadsheet, and I need to use the spreadsheet as a template. (Not go from a webpage to an excel spreadsheet).  I was just wondering if anybody had used anything in the past they liked to convert the formatting from a spreadsheet into a webpage? 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.