You are here: Re: How to make navigation buttons appear on all pages? « HTML « IT news, forums, messages
Re: How to make navigation buttons appear on all pages?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация