Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

include(string filename)


The include function causes the PHP parser to open the given file and execute it. The
file is treated as a normal PHP script. That is, text is sent directly to the browser unless
PHP tags are used. You may use a variable to specify the file, and if the call to include is
inside a loop, it will be reevaluated each time.

Free download pdf