Re: [請益] php換行疑問

看板PHP作者 (小惡魔)時間17年前 (2008/11/14 21:16), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
: function show(){ : global $link; : mysql_query('SET NAMES big5'); : $sql="select content from mdl_post"; : $result=mysql_db_query("moodle",$sql,$link) or die ("無法抓到資料!<br>".$sql); : while($content=mysql_fetch_row($result)){ $main.= nl2br($content[0]); http://tw.php.net/mysql_fetch_row 請先看清楚 mysql_fetch_row 怎麼使用~ : $contnet=nl2br($content); : $main.="$content[0] "; : } : return $main; : } : ?> -- Appleboy Blog: http://blog.Wu-Boy.com Appleboy Life: http://life.wu-boy.com -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.123.107.20

11/14 22:14, , 1F
了解了!!感謝你
11/14 22:14, 1F
文章代碼(AID): #197NeeAj (PHP)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #197NeeAj (PHP)