Passing Smarty variable to PHP
When the registration form is submitted (or anywhere on or before the final checkout page) the page needs to execute a php script that will pass the currently set Smarty variables $search.engine and $search.phrase to php variables $search.engine and $search.phrase. Once those two variables are set in PHP, I've got the rest.
Two Questions,
How do I execute a PHP script from within Smarty?
How do I pass a variable from Smarty to PHP?
Any help on this would be appreciated!
__________________
Jeremy Freeman
EZWatch Store
X-Cart v4.1.5
|