目前有这个结果
<tr class="odd">
<td>Type:</td>
<td>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>whirw<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s<br><br>basic<br>white<br>4s</td>
</tr>
使用此PHP
<tr class="' . ($counter++ % 2 ? "odd" : "even") . '">
<td>Type:</td>
<td>' . str_replace(' ', '<br />', trim($result['garment_type'] ) ) . '</td>
</tr>
双重打破自己的TR和TD之后有没有办法制作任何文字?以下是这样的事情
<tr class="odd">
<td>Type:</td>
<td>basic<br>white<br>4s</td>
</tr>