PHP105 and a half

From mi-linux
Revision as of 16:16, 12 February 2007 by In6480 (talk | contribs) (PHP105.5 moved to PHP105 and a half)
Jump to navigationJump to search

A 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");