|
Heres some simple sample code and a better idea of what happens. in dreamweaver I see the the 2 cells in the design section. As soon as I insert <?php require_once('left.php'); ?> I only see the contents of left.php and can no longer edit the file in the design section of dreamweaver. This means in order to change the contents of the page I have to remove the <?php require_once('left.php'); ?>, edit, then put it back. That is if I want to edit in design mode.
This is left.php
<body>
<table width="100" border="0">
<tr>
<td width="87"><p><a href="1.php">1</a></p>
<p><a href="2.php">2</a></p>
<p> </p></td>
</tr>
</table>
</body>
</html>
This is 1.php
<body>
<table width="250" border="0">
<tr>
<td><p>
<?php require_once('left.php'); ?>
</p>
<p> </p></td>
<td>Display 1</td>
</tr>
</table>
</body>
</html>
This is 2.php
<body>
<table width="250" border="0">
<tr>
<td><p>
<?php require_once('left.php'); ?>
</p>
<p> </p></td>
<td>Display 2</td>
</tr>
</table>
</body>
</html>
Last edited by alambert; 11-18-2007 at 11:11 PM..
|