hi
I have php output of a sample invoice that I need to convert to EXCEL spreadsheet format I need help guys
attached is a sample output of the invoice.
This is the final output that need to be converted to EXCEL.

While this technique is cheating I have used it to good advantage a number of times.

Create a table html layout for the page image that you want. Do NOT use CSS inline style commands are OK.

Save the innerHTML of the table created in a file with a '.xls' extension.

Open that file with Excel. When you save this file you can save it in a 'proper' Excel format but I have not had any of my users complain about problems with using this file format.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.