strip \n ?

wxdqz

New Member
Is there anyway to get my data back from mysql which includes data separated on a few lines and compress it to one line ?

$member[Interests] = ereg_replace ("\n", "<br>", $member[Interests]);
echo $LAN[Interests];

this always just outputs my data like this

Games / Beach / Friends / Movies
<br>and blah blah

i need it all on one line
 
Back
Top