View Single Post
  #1  
Old 05-02-2005, 02:49 PM
 
Jeremy.Freeman Jeremy.Freeman is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 79
 

Default 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
Reply With Quote