Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 13, 20187 yr I'm sorry if this is answered somewhere already, I'm sure it is, I just can't find it! What is the correct way to include a PHP file within a template file? I have tried this: {{include('../include/myfile.php');}} This includes the correct file but the rest of the page is not displayed, instead there are lots of funny characters (see screenshot). Is anyone able to offer any suggestions? Thanks a lot.
February 14, 20187 yr Quote {insert="$filename"} Includes a PHP script file Parameters$filename - The filename of the PHP file to include. The output of the file is buffered and output.
Archived
This topic is now archived and is closed to further replies.