PHP105 and a half
From mi-linux
Jump to navigationJump to searchA word about include statements
A useful function in PHP is to include the contents of fileX in fileY at a given point.
For example:
- You could
- include a menu file in each page
- or a CSS file dynamically created from a database
- or any number of other ideas
to include fileY in fileX
include ("myfile.html");