<? 
session_start();
if(!session_is_registered(myusername)){
header("location:../index.php");
}
?>
<?php require_once('../config/conn.php'); 
$sql="SELECT * FROM roomBooking ORDER BY roomID ASC";
$rs=mysql_query($sql,$conn);
$row_rs = mysql_fetch_assoc($rs);
$count=mysql_num_rows($rs);
?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>組長控制中心</title>
<link href="../css/master.css" rel="stylesheet" type="text/css" media="screen">

</head>

<body>
	<header>
		<h1>組長控制中心</h1>
	</header>
    <nav>
     <ul>
     <li><a href="g_home.php">主頁</a></li>  
     <li class="selected"><a href="BookingManagement.php">房間資源</a></li>      
     </ul>
    </nav>
    <div id="content">
    <div id="mainContent">
    <section id="intro">
           <header>
        <h2>組長控制中心</h2>
      </header>
    </section>
    <section>
    <article class="blogPost">
    <header>
    <h2>已訂房間</h2>
    </header>
    <table border="0">
    <?php do { ?>
    <tr>
    <td>
    <?php echo $row_rs['roomID']; ?>
    </td>
    <td>
     <?php printf('<a href="action/roomDetail.php?roomID=%s">詳情</a>',$row_rs['roomID']);
	?>
    </td>
    <td>
    <?php printf('<a href="action/del_room.php?roomID=%s">取消預約</a>',$row_rs['roomID']);
	?>
    </td>
    </tr>
    <?php }while ($row_rs = mysql_fetch_assoc($rs));?>
    </table>
    </article>
    </section>
    </div>
    <aside>
    <section>
    <form name="logoutForm" method="post" action="../source/logout.php">
    <input type="submit" name="logout" id="logput" value="Logout">
    </form>
    </section>
    <section>  
    <header>
    <h3>房間管理</h3>
    </header>
    <ul>
    <li><a href="BookingManagement.php">預約房間</a></li>  
    <li><a href="room.php">取消預約</a></li>   
    </ul>
    </section>        
    </aside>
    </div>
 <footer>
    <p>Copyright © 2010-2011 長洲浸信會,Cheung Chau Baptist Church 版權所有</p>
  </footer>      
</body>
</html>

don't use section tags. do this

<select name="select1><option value="value1">Value 1</option><option value="value2">Value 2</option>...</option></select><br/>
<select name="select2><option value="value1">Value 1</option><option value="value2">Value 2</option>...</option></select>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.