// Include a file, if it can't be found: continue. <?php include 'mainfile.php'; ?> // Alternatively: Require a file to be imported or quit if it can't be found <?php require 'requiredfile.php'; ?>
// Require a file to be imported or quit if it can't be found <?php require 'requiredfile.php'; ?>
<html> <body> <h1>Welcome to my home page!</h1> <p>Some text.</p> <p>Some more text.</p> <?php require'footer.php';?> </body> </html>