$scount) { array_push($list, array($com_name,'','','1','',$_GET['blocation'],$config["LATITUDE"],$config["LONGITUDE"],date("m/d/Y", strtotime($theDate)), date("H:i", $starttime), $_GET['state'], $_GET['country'], $_GET['protocol'], $_GET['num_observers'], '60', 'Y', $_GET['dist_traveled'],'',$_GET['notes'] ) ); } } $output = fopen("php://output", "w"); foreach ($list as $row) { fputcsv($output, $row); } fclose($output); die(); } ?>

Enter Checklist Information

Location Name:



State (2 letter code):



Country (2 letter code):



Protocol:



Number of observers:



Distance traveled (miles):



Notes:



Total Detections For The Day


?> "; } else { echo "

No Charts for $theDate

"; } echo "
"; if (file_exists('./Charts/'.$chart2)) { echo ""; } else { echo "

No Charts For $theDate

"; }?>