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 appriciatedI 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 includeCode:<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>index.php)
RegardsCode:<div id="rheadlines"> <?php include(newsrecent.php) ?> </div>
NightFox


LinkBack URL
About LinkBacks
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.
newsrecent.php)
Reply With Quote


