PHP3 Manual | ||
---|---|---|
Prev | Chapter 6. Language constructs | Next |
The INCLUDE statement includes the specified file.
This happens each time the INCLUDE statement is encountered, so you can use an INCLUDE statement within a looping structure to include a number of different file.
$files = array('first.inc', 'second.inc', 'third.inc'); for ($i = 0; $i < count($files); $i++) { include($files[$i]); }
Prev | Home | Next |
REQUIRE | Up | FUNCTION |