Reply to Re: What's Wrong with the following code.

Your name:

Reply:


Posted by Chaddy2222 on 01/20/07 09:17

Jerrymander wrote:
> Chaddy2222 wrote:
> > Hi all.
> > I am trying to get the following PHP include to work, but I keep
> > getting a sintax error, according to the server, it's due to an
> > unexpected "<" on line 23.
> > The code snipet is below.
> > <div id="navbar">
> > <?php include ("navigation.php");
> >
> > </div>
> > and the url is http://freewebdesign.cjb.cc/test/index.php
>
> Um, missing the "?>" on the 'include' line? Thus, the "</div>" was
> attempted to be parsed as PHP code, which clearly it is not.
Yes, that appears to be the case in both instences. Thanks guys.
--
Regards Chad. http://freewebdesign.cjb.cc

[Back to original 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

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