I don’t know if this can be accomplished with php, html, javascript.
Anyway, I have a form that I want to be submitted to a php file that will create a pdf with the data from the form. This part I know how to do.
However, whenever the form is submitted I want to create an auto increment number every time the form is submitted.
I know this could be accomplished with a database that stores the form data and keep track of the number sequencing.
Since I don’t have a database, I want to know if there is another way to accomplish this.
Do I create a text file and record the last number in the file and read from that file to see what number to use next?
Does php have a function that I can use to keep track every time a php scripts is ran or can this be accomplish with javascript/html?