You are here: Text Formating Question « All PHP « IT news, forums, messages
Text Formating Question

Posted by Greg on 10/02/05 00:19

I have a form on my site that collects Name, Email, Mailing Address, and
Comments. My question is regarding the formating of the collected text.
After submission, the contents are displayed on the next page with a thank
you message. My problem is the Mailing Address area. Basically where there
should be two lines, IE:

3456 Main Street
Sometown, CA

it looks like this instead:

3456 Main Street Sometown, CA

So I guess my question is, how can I make it so that when a user hits Enter
to go to the next line, the HTML reflects that with a <br>.

Oddly enough, the email formats properly.

Thanks in advance for any help.

Greg

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация