[請益] 麻煩PHP高手幫忙看一下!
請問,我以下面的方法將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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章