View Single Post
  #4  
Old 01-06-2011, 07:03 AM
 
Johny1 Johny1 is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 72
 

Default Re: Using a Smarty tag in PHP code

I'm having a similar problem.

Shamum I've used the code you gave but I'm having trouble. I need to push details from Smarty tags through a PHP script when a user clicks a submit button.

The way I have it at the moment is:

Code:
{php}$strBillingAddress1 = "{/php}{$address.address}{php}";{php}

So I want the address to show up for this field, however the result I get is:

Code:
?><?php echo Array['address']['address']; ?> <?php

Where am I going wrong?

Any help is much appreciated
__________________
X-Cart Gold 4.5.4
Reply With Quote