a little less ugly
This commit is contained in:
+10
-2
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user