"; if(!$postno) die('postno was not assigned!!'); if(!is_numeric($postno)) die('postno was not integer!!'); //Connect to Mysql mysql_connect (localhost, root, libroot123);// mysql_select_db (signup); //資料庫 signup 包含 post 與 signtable兩個資料表 mysql_query("SET NAMES 'utf8'"); //SQL query for Insert $query_string="select * from post where postno=$postno"; $result = mysql_query($query_string); if (!$result) { die('Invalid query: ' . mysql_error()); } if( !($row = mysql_fetch_array($result))) die('Can not query any data!'); //沒有資料 ?>

課程及活動名稱

講習對象:
上課時間:
上課地點:
詳細資料 下載 '; // } ?>
報名終止日期:
報名人數限制:
課程簡介:
活動相關網址: '.$row["title_href"].' '; ?>
',$row["postno"]); printf(''); printf(''); } ?>