Welcome Guest, Not a member yet? Register   Sign In
Storing and displaying pre-formatted text
#2

[eluser]WebsiteDuck[/eluser]
If the returns are stored correctly in the database, you might try using this php function:

Code:
echo nl2br("foo isn't\n bar");


Messages In This Thread
Storing and displaying pre-formatted text - by El Forum - 01-09-2010, 09:46 PM
Storing and displaying pre-formatted text - by El Forum - 01-09-2010, 10:00 PM
Storing and displaying pre-formatted text - by El Forum - 01-09-2010, 10:27 PM
Storing and displaying pre-formatted text - by El Forum - 01-09-2010, 11:38 PM
Storing and displaying pre-formatted text - by El Forum - 01-10-2010, 12:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB