">
echo $row['content']; ?>
include("config.php"); dbconnect_auto_web(); $tblname="softlab2013"; if($_GET['id'] == '' || !isset($_GET['id']) ) { header("Location: index.php?id=11&fid=11"); exit(); } if(isset($_GET['id'])) { $sql="select * from $tblname where id='$_GET[id]'"; //echo "
".$sql; $find=mysql_query($sql); $row=mysql_fetch_array($find); $title = $title." ".$row['title']; } //計算是否有子項目,來判斷需不需要左側欄框 $sqlc="select * from $tblname where father_id='$_GET[id]' and status_cht='T' order by `order`"; $findc = mysql_query($sqlc); $rowcount= mysql_num_rows($findc); ?>