$endDate || $endDate >= $minDate) { //error occured echo 'Please review the input parameters.'; }else{ //return the report table // startDate, $endDate, $noDays, $prod $report = $reports->productStick(date("Y-m-d 00:00:00", $startDate), date("Y-m-d 00:00:00", $endDate), $noDays, $prod); echo ''; echo ''; if($report) { echo ''; } echo '
Un-installation count:
'.$report[0]['countstick'].'
'; } ?>