read.php(用於顯示相關主題內容)
疑難問題;
=0 width="100%" class=body_br >
;
|
|
=0 width=100%> |
;
主題:include "connect .inc.php"; $query = "從留言簿中選擇*,其中id=".$theme_id; $res = mysql_query($query); $row = mysql_fetch_array($res ); echo $row['主題']; ? >
|
border=0 src="mypic/post.gif 「>
"> border=0
href="faq.php?page=1"> border =0
src="mypic/theme.gif"> TD
if ($row['answer_count']> {echo " 分頁:"; for ($j=1;$j if ($j==$page) echo " [".$j."] "; ='read.php?theme_id=".$row['id']."&page=".$j."'[".$j."]> ; "; } } echo " 共同貼文".$row['answer_count']."個 | ";
$this_id=$row['id'];
$query = "從留言簿中選擇id,其中id$res = mysql_query($query);
$row = mysql_fetch_row($res);
$row = mysql_fetch_row($res);
$row = mysql_fetch_row($res); pre_id=$row[0];
$query = "從留言簿選擇id,其中id>".$this_id." and type=1 order by id";
$res = mysql_query($query );
$row = mysql_fetch_row($res);
$next_id=$row[0];
? >
>
#6f6f6f width="20%">d >
內
容
$ res = mysql_query($query);
函數TdBackColor() {
static $ColorStr;
if ($ColorStr=="#ededed") {
if ($ColorStr=="#ededed") {
🎜> } else {
$ColorStr="#ededed";
}
return($ColorStr); } return($ColorStr); } {$row = @mysql_fetch_array($res);
if(!$row) 中斷;
$ColorStr=TdBackColor();
回顯「
」; >echo "echo "class=mid>";
echo $row[ 'name']."";
echo ""; echo ""; 回顯「」; 回顯「」; echo "echo " src='mypic/icon".$row['icon'].".gif'>"; echo "發表於: ".$row['time_open']." | "; echo "
"; 回顯「」; echo ""; echo " "; echo " |
".$row['content']." |
";
回顯「
」;
}
?>
> href="read.php?theme_id= php echo $pre_id?>&page=1"> color=#ffffff>上一個主題 me_id=&page=1"> color=#ffffff>下一個主題
http://www.bkjia.com/PHPjc/316715.html
www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/316715.htmlTechArticleread.php(用來顯示相關主題內容) HTMLHEADTITLE疑難問題/TITLE LINK href=mypic/style.css rel=STYLESHEET type=text/css/HEAD BODY bgColor=#cccc99 bottomMargin=0 leftMargin=0...