View Single Post
  #2  
Old 10-16-2005, 07:08 PM
  JJH1947's Avatar 
JJH1947 JJH1947 is offline
 

Advanced Member
  
Join Date: Feb 2004
Location: Whitefish, Montana
Posts: 41
 

Default

Here is a simplified version of my question:

How should I modify or rewrite this code in one template:

Code:
<input type="radio" name="contact" value="email_me"{if $contact ne "phone_me"}checked{/if}> Email <input type="radio" name="contact" value="phone_me"{if $contact eq "phone_me"}checked{/if}> Phone

so that the selected value is passed to this line in an email template:

Code:
{$lng.eml_prefer_contact}: {$contact}

and what code for "contact" should appear in the php file that actually processes the email?

Thanks for any help anyone!

John
__________________
X-Cart v. 3.5.4 [Linux]
PHP 4.3.9
MySQL 4.1.12
Perl 5.008005
Apache/2.0.52 [CentOS]

http://www.bitsbytescomputer.com
\"Trustworthy tools for biblical studies.\"
Reply With Quote