Jump to content

Include Option Makes My Content Dissapear. PLEASE HELP!


jamboemm

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 

 

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.