Hey all,
I am trying to display a table in my main page using includes, however i cannot understand how to use them without them being used for a header / footer (and it was working fine 2 hours ago). Any ideas as to wat i have done wrong would be appriciated I know that the way i'm using php atm is simple (Hello World) but i need to get this working first before i can continue with the rest.
File to be includednewsrecent.php)
File linking to the includeindex.php)
Regards
NightFox
I am trying to display a table in my main page using includes, however i cannot understand how to use them without them being used for a header / footer (and it was working fine 2 hours ago). Any ideas as to wat i have done wrong would be appriciated I know that the way i'm using php atm is simple (Hello World) but i need to get this working first before i can continue with the rest.
File to be includednewsrecent.php)
Code:
<table cellpadding="0" cellspacing="5">
<tr>
<!--Recent Threads-->
<td><?php echo "Hello World"; ?> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
File linking to the includeindex.php)
Code:
<div id="rheadlines">
<?php include(newsrecent.php) ?>
</div>
Regards
NightFox
Last edited: