I have a special order form created and added to an ezpage. I have the php code for form output sent to email and form successfully submitted message added to another ezpage. When the special order form ezpage is filled in and submitted it triggers the form successfully submitted message ezpage. The form output is sent to email and the customer is shown the form submitted successfully message. That all is working as expected. The only problem I am encountering is when I receive the email the form output content is not in list form. It all runs in sentence form making it difficult to sort through.
When I go in to view the php code in the ezpage I see the backslash \ is being removed. This is an example of how the code should look.
instead the back slash is being removed from in front of nPHP Code:$formcontent=" Fist-name: $firstname \n Last-name: $lastname \n Phone: $phone \n Email: $email \n Order-number: $ordernumber \n Message: $message";
I'm using ezpage in text mode.PHP Code:$formcontent=" Fist-name: $firstname n Last-name: $lastname n Phone: $phone n Email: $email n Order-number: $ordernumber n Message: $message";
To allow the php to work in ezpage I have used the code from this thread
http://www.zen-cart.com/forum/showpo...48&postcount=7
Any idea of what needs to be done to stop the backslash from being removed?


Reply With Quote
