Notice: Undefined index: database in /var/www/Javascript/grabEndTime.php on line 8 Notice: Undefined index: epc in /var/www/Javascript/grabEndTime.php on line 9