Jump to content

Archived

This topic is now archived and is closed to further replies.

dinostatic

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×
×
  • 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.