字串函式庫 nl2br (PHP3 , PHP4) nl2br --- 轉換新行成為HTML的<BR> 語法 : string nl2br (string string) 說明 : 在所有的新行(newline)前面插入'<BR>',此函式傳回一字串。 參考 : htmlspecialchars( ) htmlentities( ) wordwrap( ) 上一頁 首頁 下一頁
字串函式庫
nl2br
(PHP3 , PHP4)
nl2br --- 轉換新行成為HTML的<BR>
語法 : string nl2br (string string)
string nl2br (string string)
string nl2br
說明 :
在所有的新行(newline)前面插入'<BR>',此函式傳回一字串。
參考 : htmlspecialchars( ) htmlentities( ) wordwrap( )