Jump to content

scavanaugh

New Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by scavanaugh

  1. Hi I tried inserting <br /> as suggested but didn't work. I posted a link to the form handler code (3rd party code) in my first post, here it is again http://scavanaugh.com/TESTfm.txt Take a look if you like and let me know what you think.
  2. This is how I found to do it but I dont't know where to insert the line in the PHP form handler. $address = str_replace(",", ",\n", $_POST["shippingaddress"]); (I've seen this modified also)
  3. Yeah I tried that already and it didn't change anything.
  4. It's going through a PHP form handler
  5. All I'm looking for is the Mailing address to appear in the email to the recipient like this 123 Maple St. Nowhere USA Right now it gets emailed like this: 123 Maple St, Nowhere, USA ?
  6. is there a way to replace the commas with line breaks?
  7. I tried this and it didn't work </li><label for="shippingaddress">Shipping Address</label><li> <li><select id="shipaddress" name="shippingaddress" dir="ltr" lang="en"> <option>80 Allstate Parkway,<br /> Markham ON,<br /> L3R 6H3</option> <option>30 High Meadow, Toronto ON, M6L 2Z5</option> <option>4000 Victoria Park Avenue, Toronto ON, M2H 3P4 </option> ... </select></li>
  8. I'm trying to get a mailing address to appear in a stacked format in my form mail email return. The address is selected by the user from a drop down list then the form is submitted. It runs through a PHP form handler and is output as an HTML email. I understand that something like this would possibly work, though it appears that there are a few variations. $address = str_replace(",", ",\n", $_POST["shippingaddress"]); The thing I'm really not sure about is where in the PHP form handler to insert this line of code? Here's a link to the code for the form handler. http://scavanaugh.com/TESTfm.txt Any help with this is much appreciated.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.