Re: What's Wrong with the following code.

This is a discussion on Re: What's Wrong with the following code. within the PHP Language forums, part of the PHP Programming Forums category; Chaddy2222 wrote: > Hi all. > I am trying to get the following PHP include to work, but I keep &...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-20-2007
cristina
 
Posts: n/a
Default Re: What's Wrong with the following code.

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
> --
> Regards Chad. http://freewebdesign.cjb.cc


Could be that ?> is missing at the end of the PHP bit, from
<?php include ("navigation.php"); ?>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0