Build a Basic PHP Website (2018)
Building a Media Library in PHP
Including the Header
I can't make the include work on my file, it's so weird.
you could post a workspace snapshot (https://teamtreehouse.com/community/workspace-snapshots) so people can help with debug. the syntax for include is something like:
Then it's just a matter of making sure the path is correct for an existing file.
<?php include("inc/header.php"); ?>
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password