In lesson 2 where you Include content/home.php within the index.php to pull the content in it doesn't populate that content. I thought it was something I was doing but when I pull up the final solution in the code examples it doesn't work their either. I'm using wamp locally on a windows 8 machine.
Any Clue why it's not working?
Index.php
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Smithside Auctions</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div id="header">
<a href="index.html">
<img src="images/banner.jpg" alt="Smithside Auctions" />
</a>
</div><!-- end header -->
<div id="navigation">
<h3 class="element-invisible">Menu</h3>
<ul class="mainnav">
<li><a href="categories.html">Lot Categories</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="index.php">Home</a></li>
</ul>
<div class="clearfloat"></div>
</div><!-- end navigation -->
<div class="message">
</div><!-- end message -->
<div class="sidebar">
</div><!-- end sidebar -->
<div class="content">
<?php include 'content/home.php'; ?>
</div><!-- end content -->
<div class="clearfloat"></div>
<div id="footer">
<p>© 2011 Smithside Auctions</p>
</div><!-- end footer -->
</div><!-- end container -->
</body>
</html>
content/home.php
Code:
<h1>Next Auction September 22nd</h1>
<p>Join us for our next auction of historic clothing
to be held at the St. Paul's Auditorium in NYC on September 22nd at 1 o'clock.</p>
<p>Lots can be viewed the prior day from 4pm until 7pm and again on Thursday morning from
10am to noon.</p>