I have a need to generate pages from a back-end GUI. The pages however need to have php in them, this includes various if/else clauses and db connections. I tried to do this with fwrite but even though the functions were in quotes it still made the page that was writing the file throw an error as soon as it hit the first bit of php. My question is can I write the php to a template file and make fwrite fill in the spaces between when it generates the page or is there another function that will allow me to do this.
Question with fwrite
4
I have a need to generate pages from a back-end GUI. The pages however need to have php in them, this includes various if/else clauses and db connections. I tried to do this with fwrite but even though the functions were in quotes it still made the page that was writing the file throw an error as soon as it hit the first bit of php.
My question is can I write the php to a template file and make fwrite fill in the spaces between when it generates the page or is there another function that will allow me to do this.
My question is can I write the php to a template file and make fwrite fill in the spaces between when it generates the page or is there another function that will allow me to do this.
- phpg
- Earnie Boyd
- [1] reply
- PHPSpaZ
Next Topics on Trending Feed
-
4