Using echo will not let you do what you want. But returning the contents of the file will get the job done as stated in the manual - http://www.php.net/manual/en/function.include.php
↧
Answer by JohnP for require/include into variable
↧