我试图弄清楚如何进行查询,根据教师希望临床进行的周数设置行(周数),这个值存储在一个名为临床的 Mysql 表中,列名是周(整数)。现在在我的 HTML 中,我刚刚粘贴了 4 行来向下看。我意识到我需要在这段代码之前连接到数据库
<table width="1000" border="1">
<tr>
<td colspan="8" style="background-color:#1589FF;text-align:center;">
<h1>Rating for the Week</h1>
</td>
<tr>
<th>Week</th>
<th>Faculty Signature</th>
<th>Rating for the Week <br>
S+/S/NI/U</th>
<th>Student Signature</th>
<th>Rating for the Week <br>
S+/S/NI/U</th>
</tr>
<tr>
<tr ALIGN="CENTER">
<td>1</td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
</tr>
<tr>
<tr ALIGN="CENTER">
<td>2</td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
</tr>
<tr>
<tr ALIGN="CENTER">
<td>3</td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
</tr>
<tr>
<tr ALIGN="CENTER">
<td>4</td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
<td><form><input type = "submit" /></form></td>
<td><select>
<option value="S+">S+</option>
<option value="S">S</option>
<option value="NI">NI</option>
<option value="U">U</option>
</select></td>
</tr>
<tr>
<td colspan="8" style="background-color:#1589FF;text-align:center;">
<b> The student must pass the clinical component of the course which is ted on a pass/fail basis.<br>
A clinical failure results in a grade of F for the course.<b>
</td>
</tr>
</table>
</body>
</html>