dinostatic Posted June 19, 2010 Share Posted June 19, 2010 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 https://forums.phpfreaks.com/topic/205283-php-includes-messing-up-dreamweaver-cs4-design-window/ Share on other sites More sharing options...
mreish Posted January 6, 2011 Share Posted January 6, 2011 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. Link to comment https://forums.phpfreaks.com/topic/205283-php-includes-messing-up-dreamweaver-cs4-design-window/#findComment-1155493 Share on other sites More sharing options...
stublackett Posted January 7, 2011 Share Posted January 7, 2011 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 https://forums.phpfreaks.com/topic/205283-php-includes-messing-up-dreamweaver-cs4-design-window/#findComment-1156166 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.