Search results

  1. J

    Using External HTML Files

    I tried to use the code: <?php include "header.php"; ?> But I kept getting error messages. After some research on the error message from our friend Google, I found an alternate way to do it, using: <?php $file_contents = file_get_contents('header.php'); echo $file_contents;?>And I got it...
  2. J

    Using External HTML Files

    Okay, I'm aware of how to use external stylesheets so you can edit all the CSS from one page, but I want to know if it's possible to do it with an HTML document as well. For example, I'd like to have the header and navigation menu at the top of my page in a separate file so I only need to edit...
Top