readings php script will now get readings based on start_date, end_date, and number of points wanted