- This topic is empty.
- The forum ‘Back End’ is closed to new topics and replies.
I am having a webpage which contains an HTML table which is populated through PHP dynamically. I want the users to export this specific table (Not all tables) to excel file, and then may be they will be able to save it on there disk. I don’t know how to do it. I even don’t know where to start. Please guide me through ..
Your best bet would be to write the data out into a text file. Name the file whatever.csv and put a comma between the fields that you write out.
There you have a CSV file. Which, although not strictly an Excel formatted file will open in Excel.