Using JSON and PHP I'm able to access the MySQL database