I need to display some external data from php file to .tpl file. For this I want to include php file to .tpl file. I have tried folllowing code to display php file content to tpl.
{php} include('custom_code.php'); {/php}
but on page output was include('custom_code.php');