title: Ajax / JSON / PHP database data
body: <p>I'm more of a designer but I need to grab some data from a database. I would be able to get what I need without problem using PHP but I'm creating a mobile app in Phonegap so can't use anything other than HTML, CSS or JS.</p>
  
  <p>I've read that this can be done in a PHP file on the server, encoded to JSON and then grabbed in the HTML with Ajax.</p>
  
  <p>Can anyone show me how do I do this, as <strong>simply as possible please</strong>?</p>