I have to create several hundred php pages that are all the same with just 8 different words in them..
I was wondering if its possible to create a form that i can fill in the 8 variables with and then use one of the following:
Either echo the code for each individual page but not execute the code... i just want it to say it in text so i can copy it then save it in a page with the variables from the form applied to the variables within the code.
Or
Use fopen to a seperate php file that will pass the varaibles from the form to that php file...
Ive tried both but i must be doing somethingwrong , when i use echo it executes the code so i cant see it, when i use fopen it doesnt pass the varaibles from the form to the opened file. any help with be greatly appreciated.
its not just 8 different words, its 8 different variables that will be changed, so its 400x8
I was wondering if its possible to create a form that i can fill in the 8 variables with and then use one of the following:
Either echo the code for each individual page but not execute the code... i just want it to say it in text so i can copy it then save it in a page with the variables from the form applied to the variables within the code.
Or
Use fopen to a seperate php file that will pass the varaibles from the form to that php file...
Ive tried both but i must be doing somethingwrong , when i use echo it executes the code so i cant see it, when i use fopen it doesnt pass the varaibles from the form to the opened file. any help with be greatly appreciated.
its not just 8 different words, its 8 different variables that will be changed, so its 400x8