a little less ugly

This commit is contained in:
mcguirepr89
2022-02-22 10:50:59 -05:00
parent bc125dcdb4
commit 3caa9c3c95
2 changed files with 15 additions and 4 deletions
+10 -2
View File
@@ -15,12 +15,20 @@ body {
.column {
display:block;
float:top;
width:33%;
margin-left:0;
margin-left:auto;
margin-right:auto;
}
.left {
float:left;
}
.right {
float:right;
width:66%;
}
table {
background-color: rgb(219, 255, 235);
margin: 0 auto;
+5 -2
View File
@@ -27,13 +27,13 @@ $result = $statement->execute();
</style>
</head>
<body>
<div class="column left">
<?php
while($results=$result->fetchArray(SQLITE3_ASSOC))
{
$comname = preg_replace('/ /', '_', $results['Com_Name']);
$comlink = "/By_Date/".date('Y-m-d')."/".$comname;
?>
<div class="column">
<table>
<tr>
<form action="" method="POST">
@@ -43,9 +43,10 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
</form>
</tr>
</table>
</div>
<?php
}?>
</div>
<div class="column right">
<?php
if(isset($_POST['species'])){
$name = $_POST['species'];
@@ -83,5 +84,7 @@ while($results=$result->fetchArray(SQLITE3_ASSOC))
</tr>";
}echo "</table>";}?>
</div>
</div>
</body>
</html>