Posted by John Hosking on 02/08/07 00:28
Jonathan N. Little wrote:
[...]
> <body>
>
> <?php
> include('banner.php');
> include('navbar.php');
> ?>
>
> <h1>My Page</h1>
> <p>
> The rest of my page...
> </p>
>
> <?php include('footer.php' ?>
If the OP or any other folk try to use this, they should know that there
is a parenthesis missing above. I think it should be
<?php include('footer.php') ?>
I'm also thinking that the included pages (like footer.php) don't really
need to be .php pages, but could be .htm files instead, as in
<?php include('footer.htm') ?>
Is that true? (Maybe it's obvious I'm not a php user...)
> </body>
> </html>
--
John
Navigation:
[Reply to this message]
|