有關2.06 updat to 2.07的小小問題,想問一下大大有辨法可解決嗎?
還是先謝過各位大大了
http://phpbb-tw.net/phpbb/viewtopic.php?t=24194</span>
按照上面的綱址收改2.06 updat to 2.07,但只有index.php這一段沒法收改啊!
[php]<?php
#
#-----[ OPEN 打開 index.php]------------------------------------------------
#
#
#-----[ FIND 尋找 ]------------------------------------------------
#
{
$forum_data[] = $row;
}
#
#-----[ AFTER, ADD 之後, 加上 ]------------------------------------
#
$db->sql_freeresult($result);
?>[/php]
但我的index.php是這樣的
[php]<?php
$forum_data = array();
$topic_last_ary = array();
$i=0;
while( $row = $db->sql_fetchrow($result) )
{
if (!in_array($row['topic_last_post_id'], $topic_last_ary) || $row['topic_last_post_id']==0) {
$topic_last_ary
=$row['topic_last_post_id'];
$i++;
$forum_data[] = $row;
}
}
?>[/php]
如果加在 {
$forum_data[] = $row;
}
$db->sql_freeresult($result);之後,進入首頁裹,卻看不見現有的分區啊?
這是什麼問題啊?