Php webtags: Difference between revisions

1 byte removed ,  18:53, 26 June 2020
m
Line 206: Line 206:
It is perfectly possible to produce your own templates, following the advice above, I know that might scare you.
It is perfectly possible to produce your own templates, following the advice above, I know that might scare you.


=== Modifying a ready made script ===
== Modifying a ready made script ==
 
*One approach, that is perhaps easier is to modify a ready-made script (as has happened for some of those listed below) by adding new lines, each with a PHP variable name (it must start with "$") on the left of an equals sign and a web tag (<#tag_name>) on the right, and end the line with a ";".  
*One approach, that is perhaps easier is to modify a ready-made script (as has happened for some of those listed below) by adding new lines, each with a PHP variable name (it must start with "$") on the left of an equals sign and a web tag (<#tag_name>) on the right, and end the line with a ";".  
*You can add a comment at end of line using prefix "//".  
*You can add a comment at end of line using prefix "//".  
5,838

edits