[phorm] [Phorm:] Working with online orders

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 16 Sep 2003 19:35:30 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#3214) Working with online orders 
            <http://www.phorm.com/support/?rev=3214> 
  AUTHOR:   Neil Clauson 
  DATE:     September 16, 2003 at 3:35 p.m. EST 

Hi folks, 

In my config.php file, where I specify $PHORM_LOG and $PHORM_LOGVAR, can I 
include PHP for variable substitution? 

Specifically, I have one variable from the html form called 
{{num_products_ordered}} 

Then I have {{product1}} {{product2}} {{product3}} {{productN}} (where 
N=num_products_ordered, of course) 

N can be up to 30 

I don't want to have to type out: 
$PHORM_LOGVAR = "product1 product2 product3 product4 ....."; 

I'd rather to some PHP processing before hand, create the string, and then 
have: 
$PHORM_LOGVAR = generated_string_for_logvar; 

Also, can I do PHP processing in email.txt (i.e. the file that gets sent to 
the user) or responder.txt (for the email back to my order entry clerk) for 
the same type of thing. 

MANY thanks! 
- Neil 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Working with online orders