$er4 = $eyeclinic->geter4(); $eyeclinic->setel4($_POST['el4']); $el4 = $eyeclinic->getel4(); $eyeclinic->seter5($_POST['er5']); $er5 = $eyeclinic->geter5(); $eyeclinic->setel5($_POST['el5']); $el5 = $eyeclinic->getel5(); $eyeclinic->seter6($_POST['er6']); $er6 = $eyeclinic->geter6(); $eyeclinic->setel6($_POST['el6']); $el6 = $eyeclinic->getel6(); $eyeclinic->seter7($_POST['er7']); $er7 = $eyeclinic->geter7(); $eyeclinic->setel7($_POST['el7']); $el7 = $eyeclinic->getel7(); $eyeclinic->seter8($_POST['er8']); $er8 = $eyeclinic->geter8(); $eyeclinic->setel8($_POST['el8']); $el8 = $eyeclinic->getel8(); $eyeclinic->seter9($_POST['er9']); $er9 = $eyeclinic->geter9(); $eyeclinic->setel9($_POST['el9']); $el9 = $eyeclinic->getel9(); $eyeclinic->setsignature($_POST['signature']); $signature = $eyeclinic->getsignature(); $eyeclinic->setpid($_POST['pid']); $pid = $eyeclinic->getpid(); $connection = $eyeclinic->dbconnect(); $eyeclinic->dbselect(); if (isset($_POST['addtest7'])) { //echo 'add eyeclinic information to the database';