I need a php script that generates a pdf file and save it into a specific folder depending on the tipe of pdf generated.
The script must be able to retrieve data stored (like an autofill).
the pdf file generated has a correlative number that must be increased by 1 in every file generated
See the attached files.
the pdf is the file to be generated
the xls explains what I need.