| | |
|
|
|
PHP: replace line breaks with <br> |
| message from M36T on 15 Jul 2004 |
Well, the title pretty much says it. But just to re-phrase it... How do you use
PHP to convert line breaks to <br> tags? I mean, like when I'm typing into this
litle form here, it automaticly creates its own <br> tags.
Thanks,
Jake
|
| Mark replied to M36T on 15 Jul 2004 |
If you mean text from a database then
<?php echo nl2br($row_Recordset1['MyFieldName']); ?>
"M36T" <webforumsuser@macromedia.com> wrote in message
news:cd63dv$9s7$1@forums.macromedia.com...
|
|
Archived message: PHP: replace line breaks with <br> (Macromedia Dreamweaver)