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

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

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.

 

 

Archived

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

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