Jump to content

Recommended Posts

Hello,

 

Web development is not my area of expertise but I'm trying to learn some PHP.

 

I have an index page with a div that includes another php file (header.php), because I intend to have all the web pages of a site include that file to display at the top.

2 days ago, everything worked just fine, but something happened (I don't know what -- I didn't even change my code), such that now dreamweaver shows various lines in yellow, shows "</head>" in the actual design window, and in short causes me a lot of confusion. The browser renders header.php just fine on it's own, but refuses to display anything for index.php.

 

Here are screenshots:

index.php:

indexPage.jpg

 

header.php:

headerPage.jpg

 

(I know you can display code directly in the post but I wanted to show the dreamweaver highlighting and "</head" artifact)

 

Can anybody see anything wrong with my code? I'm at a total loss why it complains so much about having "overlapping or unclosed tags", but I've gone through the code numerous times and I don't see how there is an overlapping or unclosed tag.

 

Thanks for any help!

-Austin

Link to comment
https://forums.phpfreaks.com/topic/105498-weird-dreamweaver-parsing-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.