close

$string ='text'.'\r\n';

$string2 = 'text'."\r\n";

 

nl2br($string); use single quote not working

=> text\r\n

 

nl2br($string2); use double quote work

=> text<br/>

 

arrow
arrow
    文章標籤
    PHP
    全站熱搜

    allblue1928 發表在 痞客邦 留言(0) 人氣()