The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#2726) Re: switching email subjects <http://www.phorm.com/support/?rev=2726> AUTHOR: doug DATE: May 22, 2003 at 7:26 p.m. EST Reply To: (#2724) Re: switching email subjects Author: Patrick O'Hara Date: May 22, 2003 at 7:22 p.m. EST Hmm, maybe I don't 100% understand the significance of the PHORM_ prefix. All I know is that in my early experience of getting Phorm to work, failure to prefix variables with PHORM_ seemed to result in them not being passed. > $PHORM_referral = ph_DECLARE; > if ($PHORM_referral == "") { > -- $PHORM_SUBJECT = "Application (no > referrer)"; > } else { > -- $PHORM_SUBJECT = "Application (referral:" > . $PHORM_referral . ")"; > } > Sorry, I may have misunderstood you, I am assuming > that the variable PHORM_referral is one that you are > passing from the form, as this would be the only > reason you would want to do this: > $PHORM_referral = ph_DECLARE; > If this is the case, try changing the name of the > field on the form to something non Phorm-like, say > name="referral", and then try > $PHORM_SUBJECT = ($referral == "") ? > "Application (no referrer)" : > "Application (referral: $referral)"; > Hope this is a little closer to the mark. > Regards, > Patrick O'Hara > WhitsundayIT > QLD, Australia > patrick@xxxxxxxxxxxxxxxx *************************************************************************** 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.