Add php file

This is an example of how to retrieve data from mysql database and
convert to .json