$text = explode("\n",$text); foreach ($text as $key) echo '<b>'.$key.'</b>'."\n";
$text = '<b>'.str_replace("\n","</b><b>",$text).'</b>';