PDA

View Full Version : Adding footer and header to script


stevan
02-14-2005, 10:26 PM
I have a parsing script and want to add 2 lines of code in each of the script pages This code will make header and footer insertions. How would the code look it is way beond my knowedge

Thxs Steve

firepages
02-15-2005, 02:06 AM
errr not sure of your question , the answer is probably


<?php include_once('header.html');?>
//rest of your code
<?php include_once('footer.html');?>


or


<?php
$str .='<'.'?php include_once(\'header.html\');?'.'>';
$str ='code';
$str .='<'.'?php include_once(\'footer.html\');?'.'>';
?>