Convert Excel to PDF in PHP
I am being asked to do a little conversion to pdf.
Let me describe exactly what needs to be done. the excel file has a list of companies that look like this ...
and get the name of the company turn it into a PDF like this ...
I think to follow the path ...
1-using php and js I will get an excel file with "input type = file"
2-using pdf reader php script I will get the data I need.
After that I am confused ...
3-I can get the data by searching and parsing the company name (for example, getting the input: "company: A") up to the next keyword "company" for all columns
or should I put all data from Excel into a CSV file and do the parsing there.
4- after that, I think to use one of the tcpdf example methodologies, however, here comes another confusing point for me ... because I do not know what type of output should be received from excel or csv and loaded into PDF converter.
The enlightening path will be appreciated as I'm confused
Hello
source to share