Within the PHP script, variables will eventually need assigned to the FastTemplate instance. Here is the syntax for doing this: Now the FastTemplate object contains the data found in the variable, "$House" Parsing Templates Parsing the FastTemplate instance remains the final bit of processing that takes place in order to see results. These lines accomplish that task. "MAIN" in the above code represents the top level HTML template. Sometimes many HTML templates are parsed and each one will be represented with a distinct name. "MAIN" refers to the parent HTML template. The final command calls the FastPrint function which delivers the final product, a beautiful dynamic HTML page, to the computer screen.
blog comments powered by Disqus |