
April 12th, 2000, 08:08 PM
|
|
Junior Member
|
|
Join Date: Apr 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Another way is ofcourse to use the nl2br() AFTER a MySql fetch, before you are going to display it, like:
$arr = nl2br($row->something);
echo "$arr";
This leaves the database free of html tags, which makes later editing of the post less anoying (especially in longer text files)
kÅ
------------------
|