如何让每个表格行可点击进入新页面?是不是可以在javaScript中使用?
<?php
$query = mysql_query("SELECT * FROM instructor") or die(mysql_errno());
while ($row=mysql_fetch_array($query)) {
echo "
<tr class='info'>
<td><img src='".$row['profile_picture']."' width='30' height='30' style='border-radius:50%;'></td>
<td>".$row['instructor_Id']."</td>
<td>".$row['firstname']." ".$row['lastname']."</td>
<td>".$row['age']."</td>
<td>".$row['sex']."</td>
<td>".$row['contact_no']."</td>
<td>".$row['teaching_type']."</td>
</tr>
";
}
?>