In my JQuery mobile application I have the following php function which essentially gets an input from the user