<?php require_once 'bitcoin.php'; function getDateFrom() { return $_POST["from"]; } function getDateTo() { return $_POST["to"]; } $btc = new Bitcoin(getDateFrom(), getDateTo()); $lowestLow = $btc->getLowestLow(); $lowestMarketPrice = $btc->getLowestMarketPrice(); $highestMarketPrice = $btc->getHighestMarketPrice(); $highestHigh = $btc->getHighestHigh(); $currents = $btc->getCurrents(); $marketPriceAvg = $btc->getMarketPriceAvg(); ?> <html> <head> <title>The Awesome</title> <link rel="stylesheet" href="/assets/css/bootstrap.min.css" /> </head> <body> <div style="margin-left:auto; margin-right:auto; width:45%"> <h4>Awesome Trends</h4> <div style="border:1px solid;"> <table class="table table-condensed table-striped"> <tbody>