Jump to content

PHP Includes Messing up Dreamweaver CS4 Design Window


Recommended Posts

I'm just now getting into PHP so I can make my website way easier to use.

But whenever I put an include into a cell, it messes up the Design window o:

I know that when coding, the design window isn't a huge deal, but I'd like to be able to see what I'm doing /:

 

Here are some pictures to show what happens when I include();

Before Code

After Code

 

In the design window all the tables are gone and messed up /:

It looks fine in the browser (Here's the test site where it seems to be working http://www.dinotest.site90.com)

 

I don't know what the problem is

Link to comment
Share on other sites

  • 6 months later...

Check connect.php and make sure it doesn't have ANY of the <html><head> stuff in it.  It should only have the things you want to display in that cell.

 

Yeah, definatley looks like you have unclosed HTML in the connect.php file. Clear all HTML from it, just leave PHP in there. Should be fine after that.

Link to comment
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.