Mysql query in PHP converted to json feed and displayed on page.