如何在数字之前添加换行符?

I would like to add a line break between the bolded content.

This is what is being displayed in a column

85025 Blood Count Complete Auto&auto Difrntl Wbc Count82977 Glutamyltrase Gamma80053 Comprehensive Metabolic Panel81000 Urinls Dip Stick/tablet Reagnt Non-auto Micrscpy

I have changed it to <br> and it does not work

 $subject = ucwords(strtolower($row['myitem']));

echo "  <td class='detail'>&nbsp;" . $subject . "</td>
";

here $row is array with multiplemyitem yes? so $subject is an array so you ve to loop through each value of array $subject

foreach($subject as $key=>$value){
     echo '<tr><td class="detail">&nbsp;' . $value . '</td></tr>';
}

here <tr> gives you line break.

If i've understand you properly may be it's you are looking for or let me know if i am wrong..

is this what you want?

<?php
$subject = "85025 Blood Count Complete Auto&auto Difrntl Wbc Count82977 Glutamyltrase Gamma80053 Comprehensive Metabolic Panel81000 Urinls Dip Stick/tablet Reagnt Non-auto Micrscpy";

$searchStr1 = "Count82977";
$searchStr2 = "Panel81000";

$str1 = str_replace($searchStr1, '<br/>'.$searchStr1.'<br/>', $subject);

$str2 = str_replace($searchStr2, '<br/>'.$searchStr2.'<br/>', $str1);

echo $str2;
?>