?>
					</tbody>
				</table>
			</div>
		</div class="container"> <!-- /container -->
		
		<div class="container">
			<br>
			<h4></h4>
			<table class="table table-striped" style="width:600px">
				<tbody>
					<tr>
					<?php 
$db = new MyLiveDB();
if (!$db) {
    echo $db->lastErrorMsg();
}
$sql = "SELECT * FROM battery LIMIT 1;";
$ret = $db->query($sql);
while ($row = $ret->fetchArray(SQLITE3_ASSOC)) {
    echo "<td><b>Avg Cell Voltage: </b>" . number_format($row['batt1Avg'], 2, '.', '') . "V </td>";
    echo "<td><b>Highest Cell Voltage: </b>" . number_format($row['batt1High'], 2, '.', '') . "V </td>";
    echo "<td><b>Lowest Cell Voltage: </b>" . number_format($row['batt1Low'], 2, '.', '') . "V </td>";
}
$db->close();
?>
					</tr>
				</tbody>
			</table>
			<br>
		</div class="container"> <!-- /container -->