![]() |
![]() |
|
| Home I Company I Services I Documentation I Downloads I E-Support |
| home -> documentation -> language reference -> INCLUDE Tag | |||||
|
The INCLUDE command allows you to replace the tag with the contents of another file at the time when file is sent out by the server.
Suppose that you have 100 files on your web application. At the top of each of the files you need to present some information that changes daily. You could either go into every page, every day and change the information or you could have a text file that each of your 100 files include. Then you would change just that one text page and all the other pages would update.
Example 1. Creating a common header for several pages. The following example shows you how to create a header file and use it inside several pages. Source code
examples/header1.dbsp
examples/header2.dbsp
Test example
|