Retrieves questions from database

Inserted into a json array to be sent to front end. I found some links that may help with reading the array. 

http://stackoverflow.com/questions/7561110/jquery-parse-json-2-arrays
http://jsonlint.com/
http://stackoverflow.com/questions/5393357/reading-json-encoded-multiple-php-arrays-using-ajax-request