|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Returns and text areas - retaining formatting
How does one retain the formatting of a text area like the one I am typing in now. Specifically returns
like this ?
__________________
$mybrain = "mush"; ------------------------------------------- http://www.loftsboston.com http://www.gregdawsondesign.com |
|
#2
|
|||
|
|||
|
just grab the textarea on submit like
PHP Code:
|
|
#3
|
|||
|
|||
|
nl2br() will do the trick
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Returns and text areas - retaining formatting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|