PHP でのデータベースのクエリと表示
$cur_roomID=$_GET['roomID'];<br /> $query="SELECT *FROM room WHERE roomID=".$cur_roomID."";<br /> $result=mysql_query($query);<br /> $row = mysql_fetch_row($result);<br /> $cur_roomtype = $row['roomtype'];<br /> $cur_roomsize = $row['roomsize'];