For starters, I am completely new to PHP. That being said, here's my problem.
I've got a web page index.php that includes a header.php and footer.php. At the top of my index.php page I have:
<?php $pageID = 'home'; ?>
In the header.php file I have
<body id="<?php echo $pageID; ?>">
Yet when the page loads, the body tag simply looks as follows: <body id="">
Am I doing something wrong?
Thanks