database views now link to data

This commit is contained in:
mcguirepr89
2022-02-13 11:21:33 -05:00
parent 6d21c0bd85
commit 1ad86d77bb
6 changed files with 296 additions and 88 deletions
+6 -1
View File
@@ -53,6 +53,10 @@ $mysqli->close();
<style>
a {
text-decoration: none;
color:black;
}
.center {
display: block;
margin-left: 5px;
@@ -76,11 +80,12 @@ $mysqli->close();
<?php // LOOP TILL END OF DATA
while($rows=$mostrecent ->fetch_assoc())
{
$dbname = preg_replace('/ /', '_', $rows['Com_Name']);
?>
<table>
<tr>
<th>Most Recent Detection</th>
<td><?php echo $rows['Com_Name'];?></td>
<td><a href="/By_Common_Name/<?php echo $dbname;?>"><?php echo $rows['Com_Name'];?></a></td>
<td><?php echo $rows['Date'];?></td>
<td><?php echo $rows['Time'];?></td>
</tr>