Ok, this may be hard to explain...
Lets just set up these basic example files...
leftside.php has... "CONTENT HERE"
and I have my php program that creates a file, loads a template file, adds evaluates a few basic variables, and then saves the completed file.
I have <?php include("leftside.php"); ?> in my template file. When the code runs it includes the file and then writes the file.
So I have...
Code:
<html>
<body>
B
</body>
</html>
But I need the actuall PHP include to transfer through to the file so it should be...
Code:
<html>
<body>
<?php include("leftside.php"); ?>
</body>
</html>
Sorry if my explanation was long and confusing, I wasn't really sure how to explain it. Thanks, John
__________________
Cheers, John Irving: My Blog
JLI Media: Please login or register to view this content. Registration is FREE | Website Development (Link Coming Soon!)
|