|
|
Thread Tools | Display Modes |
02-01-2007, 06:22 PM | #1 | ||
Join Date: Oct 2003
Location: Telford, England
Posts: 1,303
|
I've been wondering this for a while, and after searching, found no answer.
With a form for HTML/PHP, for example, the message posting form here on the forum, how do you make the code read new lines and save them as s, rather than as one long chunk of text without new lines? My forms, as they are, would ignore all the new lines in this and make this into one very long line. Anyone?
__________________
I liked the old forum.. =/ |
||
|
|
03-01-2007, 12:38 AM | #2 | ||
Join Date: Aug 2004
Location: Hofudborgarsvadi, Iceland
Posts: 74
|
you could use nl2br()
http://www.php.net/manual/en/function.nl2br.php (If I understood the question correctly) |
||
|
|
05-01-2007, 08:20 PM | #3 | ||
Join Date: Oct 2003
Location: Telford, England
Posts: 1,303
|
You did indeed.
*Whacks that in half his webpages* Thankyou profusely, kind Icelandic sir.
__________________
I liked the old forum.. =/ |
||
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Color Lines | troop18546 | Approved Requests | 3 | 13-09-2007 08:49 PM |
Front Lines | Strobe | Games Discussion | 16 | 13-10-2006 01:40 PM |
Make Dosbox Larger Without Make It Fullscreen | _\Magus/_ | Tech Corner | 4 | 02-05-2005 07:57 PM |
Horizontal Lines | Stroggy | Tech Corner | 11 | 27-04-2005 08:06 PM |
Few Lines Under The Screenshot? | Unknown Hero | Old Suggestions | 21 | 30-01-2005 05:37 PM |
|
|
||
  |