jamboemm Posted March 14, 2007 Share Posted March 14, 2007 Hi all, I have created my index.php and my menu.php and when i go to the top of index.php and use the include option and include my menu.php my index.php content dissapears in dremweaver meaning i cant edit or add content all i can see if my menu.php, yet when i open up the page in a browser its all there, please help peepo PLEASE NOTE: i am new to php so please can u explain as simple as possible i heard someone say something about adding a echo but am not sure what that is. so please help me. Thanks Jamie Quote Link to comment https://forums.phpfreaks.com/topic/42735-include-option-makes-my-content-dissapear-please-help/ Share on other sites More sharing options...
aebstract Posted March 14, 2007 Share Posted March 14, 2007 Didn't we establish the fact that it is going to do that to you in design mode within dreamweaver? Quote Link to comment https://forums.phpfreaks.com/topic/42735-include-option-makes-my-content-dissapear-please-help/#findComment-207348 Share on other sites More sharing options...
per1os Posted March 14, 2007 Share Posted March 14, 2007 Dreamweaver probably isn't the best spot to try includes for php etc. I am not sure if dreamweaver includes it's own php files so it can check syntax etc, but yea. If not you may have to install php on your system locally. For me, I just as well use apache and php with notepad++ for all my coding. --FrosT Quote Link to comment https://forums.phpfreaks.com/topic/42735-include-option-makes-my-content-dissapear-please-help/#findComment-207349 Share on other sites More sharing options...
jamboemm Posted March 14, 2007 Author Share Posted March 14, 2007 I have seen it done before wherethey included a file in dreamweaver and it was there, what is this about echos av heard about cause none of that is in my code. Thanks Again Jamie Quote Link to comment https://forums.phpfreaks.com/topic/42735-include-option-makes-my-content-dissapear-please-help/#findComment-207353 Share on other sites More sharing options...
suttercain Posted March 14, 2007 Share Posted March 14, 2007 My experience with dreamweaver and includes in the design view is a weird one. The other day I am working on my header.php which has two includes, a css file and an html file. The css wasn't being reflected in the design view, instead it was the default font. Yet, the html file was being shown in the design view. To make a long story short. CSS wasn't showing up as an include but HTML file was. Quote Link to comment https://forums.phpfreaks.com/topic/42735-include-option-makes-my-content-dissapear-please-help/#findComment-207359 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.