www.webdeveloper.com
Results 1 to 5 of 5

Thread: angle brackets change on server-side include tags

  1. #1
    Join Date
    Jul 2006
    Posts
    64

    angle brackets change on server-side include tags

    I am editing a site that pulls several different server side includes into one page. Using Dreamweaver 8, the code shows the angle brackets of the include tags replaced with "*lt;--" instead of "<!--". Can anyone expain this to me?
    Thanks!

  2. #2
    Join Date
    Dec 2005
    Location
    Queen Creek, AZ
    Posts
    1,564
    &lt; is the same as <

    so it should if anything say: &lt;!--

    but I may be wrong.

    if it works, let it be!
    Design first! Code later!

  3. #3
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    1,043
    If you are pasting code into Dreamweaver, make sure you paste into the "Code" window, not the "Design" window.

  4. #4
    Join Date
    Jul 2006
    Posts
    64
    Thanks, but I'm missing something else. I understand the code view vs design view. And, the &lt;!-- may call the include fine, but it causes the text of the entire include tag to show in the live page. Thus, I have to go in and edit back each one. I need to figure out what is causing the change when it comes into Dreamweaver. Same happens with GoLive.

  5. #5
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    1,043
    Well, I use Dreamweaver MX2004, and php includes extensively with no problem. I cannot see that SSI would cause any other problems - or that Dreamweaver 8 would handle includes differently. But perhaps this thread should be moved to the Dreamweaver/FrontPage section, to see if the community there can throw any further light on the problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles