<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> 250; <span>$distance</span> += <span>50</span>) { <span>echo</span><span>"<tr> <td align='\"right\"'>".<span>$distance</span>.<span>"</span> </td> <td align='\"right\"'>".(<span>$distance</span> / <span>10</span>).<span>"</span> </td> </tr> <br>"</span>; }</code>
以上就介绍了php在记事本中换行的问题,包括了php,记事本方面的内容,希望对PHP教程有兴趣的朋友有所帮助。