我正在使用codeigniter,在這裏我正在提取記錄。但問題是,如果我想在我的工具提示中使用多個名稱,則不會進入新行,因爲我嘗試了很多次,例如
,<br>
或類似的javascript。但沒有任何工作。 我想爲此提出建議。 這裏是我的代碼:在我的工具提示中斷行
<td><a href="#" class="my_tooltip" data-toggle="tooltip" title="<?php echo nl2br("$row->active_subject; \n$row->active_note"); ?>"><?php echo $row->active_subject; ?></a></td>
'active_subject; ?>' 我像這樣使用,但沒有奏效.... –