Create getData.php

subfile of querychart.php