fetch_assoc("
select
tg_id,
tg_username,
tg_type,
tg_title,
tg_content,
tg_readabout,
tg_commentabout,
tg_last_modify_date,
tg_date
from
tg_article
where tg_reid=0 and tg_id=*{$_GET[*id*]}*"
)
{
$_html=array();
$_html[*reid*]=$_row[*tg_id*];
$_html[*username*]=$_row[*tg_username*];
$_html[*type*]=$_row[*tg_type*];
$_html[*title*]=$_row[*tg_title*];
$_html[*content*]=$_row[*tg_content*];
$_html[*readabout*]=$_row[*tg_readabout*];
$_html[*commentabout*]=$_row[*tg_commentabout*];
$_html[*last_modify_date*]=$_row[*tg_last_modify_date*];
$_html[*date*]=$_row[*tg_date*];
//累计阅读量
query("update tg_article set tg_readabout=tg_readabout+1 where tg_id=*{$_GET[*id*]}* ");
我感觉没有任何问题啊