![]() |
Best way to include external php
Not sure what forum to post...
What is the best way to include (execute) an external php file to an x-cart powered page? When I'm using {include_php file="/path/to/include.php"} in smarty template it gives me all kinds of errors...do I need to put something in the php file itself ? Any help appreciated! |
Try reposting in "Template Editing".
You will likely get an answer faster over there. |
you have to escape from smarty by doing this:
{php} include ('normalphpsyntaxhere.php'); echo "Do whatever you want in this are"; echo "I think this should work"; {/php} HTH |
lol, new to me.... 8O
(learning....) |
All times are GMT -8. The time now is 12:36 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.