PHP Classes
elePHPant
Icontem

HTML to Excel on the fly: Create Any HTML to Excel on The Fly

Recommend this page to a friend!
  All requests RSS feed  >  HTML to Excel on the fly  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

HTML to Excel on the fly

A request is featured when there is no good recommended package on the site when it is posted. Edit

by rupam - 3 years ago (2015-09-13)

Create Any HTML to Excel on The Fly

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I need a PHP package that can create any HTML to Excel on the fly.

  • 3 Clarification requests
  • 4. by Leo Daidone - 3 years ago (2015-09-21) Reply

    are you looking at the right place? since you need it on the fly maybe you should look at http://www.jsclasses.org/

    • 2. by Manuel Lemos - 3 years ago (2015-09-21) Reply

      There is a class that can convert HTML tables to Excel format but it is written in JavaScript.

      • 3. by Gerry Danen - 3 years ago (2015-09-21) in reply to comment 2 by Manuel Lemos Comment

        I have used this Javascript solution and it works well.

      • 5. by Manuel Lemos - 3 years ago (2015-09-21) in reply to comment 3 by Gerry Danen Comment

        Yes, it would be a nice and innovative idea for a class to port to PHP.

    • 1. by Manuel Lemos - 3 years ago (2015-09-15) Reply

      How exactly do you want to convert HTML to Excel?

      Do you mean you want to convert HTML tables to Excel spreadsheets?

      Ask clarification

      1 Recommendation

      eiseXLSX: Read and write Excel spreadsheets in XLSX format

      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +2

      by Larry Wakeman Reputation 140 - 3 years ago (2015-09-21) Comment

      I have used this class to read and write Excel 2007+ spreadsheets. The only caveat I have found is that cell A1 has to have data in it but you can overwrite it.

      If you are reading HTML tables from another website or the like, learn to parse the table. Not hard, look for <tr, </tr, <td and </td and maybe <th and </th. I have done it but only in a specific case, not something I could publish.

      • 1 Comment
      • 1. by Manuel Lemos - 3 years ago (2015-09-23) Reply

        Yes, any DOM classes can traverse HTML to pass it to that Excel class.


      Recommend package
      : 
      :