[quote author=wildteen88 link=topic=107077.msg429081#msg429081 date=1157538584] If you want to include parts of the file, you'll want to seperate your code into functions, for example. You have a form. You put all the code for the form in a function called showForm, like so: [code=php:0]// define the function showForm function showForm(); { // we echo the HTML for the form // Below is HEREDOC syntax echo <<<HTML <form action="file.php" method="post"> your form fields here </form> HTML; // DO NOT INDENT OR PUT ANYTHING ON THE LINE ABOVE }[/code] Now to call the function you use: [code=php:0]showForm();[/code] When you call this function, it'll produce this: [code]<form action="file.php" method="post"> your form fields here </form>[/code] Which will allow for reusable code. [/quote] Thanks Will give it a go ;D ;D ;D