Forums
This topic is locked
PHP include not displaying in Design View
Posted 14 Jul 2008 09:42:33
1
has voted
14 Jul 2008 09:42:33 Jeff Spijkers posted:
<font face='Arial'></font id='Arial'>Hello everyone.I am new to this forum and have done an extensive search regarding my problem before posting.
To be honest, I'm at my wits end. I cannot find a solution and I am hoping that you good folks might have some
suggestions.
The Problem:
My website uses a php include to load the header and footer of every page. and when the page is previewed in a
browser everything is fine. The pages also display perfectly on the live site, but when I open the pages in
DW Design View the header and footer are gone. This problem began after I rebuilt my system and reinstalled DW8.
What I have tried:
I have checked the preferences, the detailes in the advanced site manager, and the code of every page. I can find
nothing wrong. DW8 simply will not display the includes in design view.
I have also tried removing and reinstalling the software 3 times...
The MySQL and PHP installations are OK. Other sites with includes do not have this problem. only this one site.
I really don't understand it... Can anyone help me?
Here is the code chunk for the include
<body onload="MM_preloadImages('layout/logo_over.jpg','layout/btn_about_over.jpg','layout/btn_services_over.jpg','
layout/btn_portfolio_over.jpg','layout/btn_contact_over.jpg')">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="263" valign="top"><img src="layout/BGgraphic.jpg" width="263" height="678" /></td>
<td width="637" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php include("incl_head.php" ?></td>
</tr>
This is the code block in the include file:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="24%" bgcolor="#400700"><img src="layout/logo.jpg" alt="Return to home page" name="home"
width="153" height="200" border="0" usemap="#homeMap" id="home" /></td>
<td width="76%" valign="top"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','name',
'Intro','width','496','height','153','id','Intro','src','flash/header','quality','high','pluginspage','www.macromedia.com/go/
getflashplayer','movie','flash/header' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" name="Intro" width="496" height="153" id="Intro">
<param name="movie" value="flash/header.swf" />
<param name="quality" value="high" />
<embed src="flash/header.swf" width="496" height="153" quality="high" pluginspage="www.macromedia.com/go/
getflashplayer" type="application/x-shockwave-flash" name="Intro"></embed>
</object></noscript></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="layout/btn_about_up.jpg" name="about" width="124" height="48" border="0"
usemap="#aboutMap" id="about" /></td>
<td><img src="layout/btn_services_up.jpg" name="services" width="124" height="48" border="0"
usemap="#servicesMap" id="services" /></td>
<td><img src="layout/btn_portfolio_up.jpg" name="portfolio" width="124" height="48" border="0"
usemap="#portfolioMap" id="portfolio" /></td>
<td><img src="layout/btn_contact_up.jpg" name="contact" width="124" height="48" border="0"
usemap="#contactMap" id="contact" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
I thank everyone in advance for any help you can offer.
Thanks to all!<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Saigonjeff
Crap rolls downhill, but that don't mean you gotta wait for it to hit you.
I Use DW8 / PHP / MySQL
Edited by - Saigonjeff on 14 Jul 2008 09:54:54