|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I've been using the PHP Form Generator (downloaded from SourceForge.net) for email forms on a website. I've posted a question on their boards, but haven't got much of a response. Maybe someone here can help.
So far the PHP code is working great. I have forms that visitors fill out, and we get the messages in our email. However, when people write us messages with paragraph breaks, we get <br /><br /> in the received emails. Is there a way to smooth this out so we get actual breaks instead of the HTML code? I'll post the code and some links if anyone wants to take a look. |
|
|||
|
Wow, that was easy.
I didn't know quite where to put it at first, but then swapped it for this section: $message=preg_replace("/(\015\012)|(\015)|(\012)/"," <br />", $message); Thank You! Last edited by Sky Captain; 05-20-2008 at 01:28 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sitemap generator | duongo75 | Search Engine Optimization Forum | 3 | 10-08-2007 06:32 AM |
| Passing form data to remote form on another site | webace | Graphics & Design Discussion Forum | 8 | 08-31-2007 04:21 AM |
| Form Post Redirect to Form Get | GiftsForYouBiz | Web Programming Discussion Forum | 0 | 09-26-2006 05:51 PM |
| Web 2.0 Bullsh*t Generator™ | kgun | The Castle Breakroom (General: Any Topic) | 2 | 04-04-2006 01:56 AM |
| Form problems using Visual Form Mail | whatever | Graphics & Design Discussion Forum | 7 | 01-04-2006 04:14 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |