Returning different JSONs with PHP

This example provides a solution for returning different json files from server based on data that is submitted with the ajax call

Result of Ajax request