Just a quick question. Everything is printing out fine on this page, except the PHP content is printing at the bottom of the page underneath the footer and everything. I want it to be above the footer.
In the code it's positioned to be as such, but it still prints underneath anyway. Is there something I'm missing when it comes to certain objects being printed out?
Here's the section is question (anything marked with a ~ is just hidden information):
<section>
<?php
//Retrieving Database
mysql_connect("~", "~", "~") or die(mysql_error());
mysql_select_db("~") or die(mysql_error());
$data = mysql_query("SELECT * FROM teams ORDER BY game ASC") or die(mysql_error());
echo '<table>
<tr><th>TEAM NAME</th><th>GAME</th><th>PLATFORM</th><th>PLAY STYLE</th><th>TIMEZONE</th><th>FOUNDER</th></tr>';
while ($myrow = mysql_fetch_array( $data )) {
echo "<tr>
<td>".$myrow['team']."</td>
<td>".$myrow['game']."</td>
<td>".$myrow['platform']."</td>
<td>".$myrow['play']."</td>
<td>".$myrow['timezone']."</td>
<td>".$myrow['player']."</td>
</tr>
";
}
?>
<!-- Line Break Design -->
<hr style="border: 3px outset #595955;" width="100%" size="5">
</section>
<!-- Footer (name, email, etc.) -->
<footer id="footer">
<img src="images/logo.png" width="80" height="65" alt="Our Logo" class="floatLeft"/>
<p>Contact Us<br/><a href="~" target="_blank">~</a><br/><a href="~">~</a></p><br/>
</footer>