| To include a page in php use the require() or include() statements
Example:
<? require("myscript.php");
//rest of your code etc
?>
Above would include the file "myscript.php" within your script. If the
file "myscript.php" was not found you would receive a fatal error. If
you wished to have the script continue regardless of whether the file
could be found and included, use the function include(); (identical
functionality, different error handling)
See: http://us3.php.net/manual/en/function.require.php
and: http://us3.php.net/manual/en/function.include.php |