How to include a php file?

Hi everyone… please help me with this… I have a search.php I would like to include in my html output. The final HTML output code is part of a php file already. So I have tried just include (“search.php”); but it just shows up in html in letters. I also have tried this …but nothing works… what am I doing wrong?

<?php
   include ('search.php');
?> 

But it doesn’t show the search form when it is published. And no errors. Here is my html output code…

// Final Output


echo <<<__HTML_END
 
<html>

<head>

<title>Photography</title>

</head>

<body>

<table width='100%' border='0' align='center' style='width: 100%;'>

$result_final 

<?php include("search.php");?>

</table>

</body>

</html>

__HTML_END;
echo <<<__HTML_END1
 
<html>

<head>

<title>Photography</title>

</head>

<body>

<table width='100&#37;' border='0' align='center' style='width: 100%;'>

$result_final 
__HTML_END1;

include "search.php";

echo <<<__HTML_END2
</table>

</body>

</html>

__HTML_END2;

felgall… Thank you!! :slight_smile: That worked…your certainly are a “man of few words and a lot codes” eh? :slight_smile: Thanks again…