$sql = "select * from $g4[board_table] order by bo_table"; $result = sql_query($sql); $rows = mysql_num_rows($result); for($i=0; $i < $rows; $i++){ $row=sql_fetch_array($result); ?>
=$row[bo_subject]?>
} ?>
$sql = " select bo_category_list from $g4[board_table] where bo_table='$bo_table' "; $result = sql_query($sql); $row=sql_fetch_array($result); $join = explode("|",$row[bo_category_list]); if($bo_table){ for($i=0, $cnt=count($join); $i < $cnt; $i++){ ?>
=$join[$i]?>
}} ?>