Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 77806

PHP include command covers all other page content in dreamweaver

$
0
0

Hi,

 

I am having problems with my php include command.

 

I have aheader which needs to be on every page, but when I include it in a page, it stops displaying the page's original content.

To be able to edit the pages (not the include header file), i have to comment out or remove the php include so that the original content is displayed and can be edited.

 

Is there a reason for this?

 

<!doctype html>

<?php include("_header.php"); ?>

<html>

<link href="stylesheets/main_stylesheet.css" rel="stylesheet" type="text/css">

<link href='http://fonts.googleapis.com/css?family=Slabo+27px' rel='stylesheet' type='text/css'>

<head>

<meta charset="utf-8">

<title>Welcome</title>

</head>

 

<body>

This is the body of this page

</body>

</html>


Viewing all articles
Browse latest Browse all 77806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>