我写的时候,也是这样,因为在文本框中写的时候把\n都转成<br>啦!
强烈荐议你在写入文件时:加上<table width=778>....</table>最后用str_replace再把表格换掉或写成:<table width=778>\n.....</table>就更好了,直接读数组...