Click to See Complete Forum and Search --> : spaces in input address


bigginge@biggin
10-04-2006, 05:04 AM
I've got a form working that sends input info to my email via php. When the user enters their address the info comes to me as one continual line even though a return is used when entering it. How can I have a space or underscore or something between the lines?

scragar
10-04-2006, 07:48 AM
if it's your email address it's sending to you could simply deactive HTML formating, alternative you could run the PHP nl2br funtion on the input to replace all of the new lines with the <br> tag.