Create data json form My SQL database using php.