'yes' "; } $postdata=tmq($postdata); if (tmq_num_rows($postdata)==0) { die("no webpage_articles id $TID"); } $postdata=tmq_fetch_array($postdata); if (strpos($postdata[viewers],",$_tmid,")===false) { $newviewers=$postdata[viewers].",$_tmid,"; tmq("update webpage_articles set viewers='$newviewers' where id='$TID' "); } $backto=urlencode("viewtopic.php?TID=$TID"); pagesection($postdata[topic]); ?> 'yes' "; } $sql.=" order by dt asc, ID asc "; //echo $sql; ?>