[請益] 麻煩PHP高手幫忙看一下!

看板PHP作者 (程式Orz)時間19年前 (2006/07/25 16:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
請問,我以下面的方法將filedir.txt裡面的內容分開,然後再以表格輸出,這樣寫不知道為什麼就是顯出這樣子=>http://0rz.net/e21DH $lines=file("filedir.txt"); $line[]=$lines[$a]; for($i=0;$i list($number,$name,$email,$time,$filename,$filelink,$filedescribe)=each(explode("||",$line[$i])); 我txt裡面的檔案是xxx||xxx||xxx||xxx 的方式分隔 寫入也是以$data="$number||$name||$email||$time||$filename||$filelink||$filedescribe\r\n"; 這方式寫入,雖然檔案都有寫進去,但是就是顯示不出來,麻煩高手指正 謝謝~ -- rz 雨天小築 http://yewyew.3cc.cc 相簿 http://www.wretch.cc/album/yewyew -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.165.83.46
文章代碼(AID): #14nThUQG (PHP)
文章代碼(AID): #14nThUQG (PHP)