This is code that is duplicated in getQuestion.php and getSolution.php. Probably want to put it in a file that both getQuestion and getSolution require, so that if we make changes to our queries we have to change it in only one place. Eliminate a future source of bugs