The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#3895) variables and config.php <http://www.phorm.com/support/?rev=3895> AUTHOR: jim warren DATE: March 25, 2004 at 8:12 a.m. EST i am trying to created new variables based on the value of a form field....but i cant get the new values to pass to the log....e'm betting you could spot what i'm doing wrong in a sec....maybe? (the only ones i'm having trouble with are UNIT, SHIP, GROSS and TOTAL) thanks, jim config.php below------------------------------------ <?php $PHORM_VALDEFS = "valdef.txt"; $PHORM_TO = $T8; $PHORM_ACK = "thankyou.html"; $PHORM_TMPL = "email.txt"; $PHORM_SUBJECT = "Thank you for your order!"; $PHORM_FROM = "orders@xxxxxxxxxxxxxxxxxxx"; $PHORM_LOG = "orders.txt"; $PHORM_LDELIM = ","; $PHORM_LOGQUOT = "\""; $PHORM_CCEXP = $D3.$D2; $PHORM_ITEM = $R1; if ( $PHORM_ITEM == "1" ) { $UNIT = "24.95"; $SHIP = "6.95"; $GROSS = "24.95"; $TOTAL = "31.90"; } if ( $PHORM_ITEM == "3" ) { $UNIT = "19.99"; $SHIP = "6.95"; $GROSS = "59.97"; $TOTAL = "66.92"; } $PHORM_LOGVAR[1] = "'type' 'blank' 'blank' 'blank' 'blank' 'salesman' 'blank' 'media' 'blank' 'blank' 'T1' 'T2' 'blank' 'T3' 'T4' 'blank' 'blank' 'blank' 'T5' 'D1' 'T6' 'blank' 'T8' 'blank' 'blank' 'blank' 'blank''blank''blank''blank''blank''blank' 'T7' 'blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank''blank' 'R1' 'T10' 'PHORM_CCEXP' 'blank' 'blank' 'blank' 'blank' 'GROSS' 'blank' 'blank' 'blank' 'blank' 'SHIP' 'TOTAL' 'blank' 'blank' 'blank' 'blank' 'blank' 'blank' 'blank' 'blank' "; $PHORM_LOGVAR[2] = "'ITEMID' 'blank' 'R1' 'UNIT' 'blank' 'blank' 'blank'"; $PHORM_LOGVAR[3] = "NEXTREC"; ?> jim warren jim@xxxxxxxxxxxx 702.743.0208 fax: 702.921.0208 *************************************************************************** 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.