$foosrt3 = $eyeclinic->getfoosrt3();
$eyeclinic->setfooslt3($_POST['fooslt3']);
$fooslt3 = $eyeclinic->getfooslt3();
$eyeclinic->setfoosrt4($_POST['foosrt4']);
$foosrt4 = $eyeclinic->getfoosrt4();
$eyeclinic->setfooslt4($_POST['fooslt4']);
$fooslt4 = $eyeclinic->getfooslt4();
$eyeclinic->setfoosrt5($_POST['foosrt5']);
$foosrt5 = $eyeclinic->getfoosrt5();
$eyeclinic->setfooslt5($_POST['fooslt5']);
$fooslt5 = $eyeclinic->getfooslt5();
$eyeclinic->setfoosrt6($_POST['foosrt6']);
$foosrt6 = $eyeclinic->getfoosrt6();
$eyeclinic->setfooslt6($_POST['fooslt6']);
$fooslt6 = $eyeclinic->getfooslt6();
$eyeclinic->setfoosrt7($_POST['foosrt7']);
$foosrt7 = $eyeclinic->getfoosrt7();
$eyeclinic->setfooslt7($_POST['fooslt7']);
$fooslt7 = $eyeclinic->getfooslt7();
$eyeclinic->setsignature($_POST['signature']);
$signature = $eyeclinic->getsignature();
$eyeclinic->setpid($_POST['pid']);
$pid = $eyeclinic->getpid();
$connection = $eyeclinic->dbconnect();
$eyeclinic->dbselect();
if (isset($_POST['addtest3'])) {
    //echo 'add eyeclinic information to the database';
    $add = $eyeclinic->addTest3($pid, $foosrt1, $fooslt1, $foosrt2, $fooslt2, $foosrt3, $fooslt3, $foosrt4, $fooslt4, $foosrt5, $fooslt5, $foosrt6, $fooslt6, $foosrt7, $fooslt7, $comments, $signature);
    if ($add == true) {
        $message = "eyeclinic {$companyname} is Saved in the Database!";
    } else {