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 Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.