Create getHistory.php

page that returns the data for a given history