So I'm trying to finish up my website, but since it has a lot of pages I want to speed up the process.
Every post I make needs a .SQL file with the data that will later be used in the .php file to fill everything, now, what I want to do is fill out the info on a VB6 form so that it'll put the data on my database and create a .php file with the given text (that will include all html and php code as well as the variables for every specific post) or a .txt file so I can later just change its extension.
How could I do this?
I'm sorry if I didn't express myself well and thanks in advance, cheers!
EDIT: I know I could do it with just getting the data from my database and having a single dynamic php file, but trust me, for what I need it's better having different files.
Also yes, I meant by ".SQL file" that it'll be just a row in my database.
So basically what I need is to write a certain text on a .txt file (preferably save it with the .php extension) and also for the program to write the data on my database (I already did that part).
Again, sorry for the poor explanation.