|
STEP 1
|
|
BlOCKS are just that, blocks of html. Below is what a typical block of code would look like
that has beginning and ending tags. This would be setup in an html (or tpl) file that is easily edited by an html editor.
|
Now assuming you have an html file named block.html with the text from the preceding text area, you
could use Quickie Template by using the following php code.
|
|
|
|
|
Click here to see an example of the output.
|
|
STEP 2
|
|
Below is a html file that has patterns marked with brackets that will be replaced
dynamically with php code.
|
Here is an example of php code to manipulate the the patterns.
|
|
|
|
|
Click here to see an example of the output.
|
|
|
|
|
|
|