<code>在网页上面:用<br />就可以解决了,<span>\n</span>行不通的 把数据保存到记事本用<span>\r</span><span>\n</span>,在记事本就实现了换行!</code>
<code><span>for</span> (<span>$distance</span> = <span>50</span>; <span>$distance</span> <= <span>250</span>; <span>$distance</span> += <span>50</span>) { <span>echo</span><span>"<tr> <td align=\"right\">".<span>$distance</span>.<span>"</td> <td align=\"right\">"</span>.(<span>$distance</span> / <span>10</span>).<span>"</td> </tr><br />"</span>; }</code>
以上就介紹了php在記事本中換行的問題,包括了php,記事本方面的內容,希望對PHP教程有興趣的朋友有所幫助。