Another newb question
Posted: Wed May 12, 2004 1:12 pm
so were does the code in a php include get executed...is it like so:
or like so:
in other words, is my <?php echo $pre; ?> being canceled out by the include because you cant have a php tag inside another?
Code: Select all
<div id="Footer">
<?php
$foldersin = 1;
include('../footer.inc') ?>
<img src="<?php echo $pre; ?>images/footer.jpg" alt="" height="107" width="800" border="0">
</div>
</body>
</html>Code: Select all
<div id="Footer">
<?php
$foldersin = 1;
include('../footer.inc')
<img src="<?php echo $pre; ?>images/footer.jpg" alt="" height="107" width="800" border="0">
</div>
</body>
</html>
?>