Dynamic Content in a JQuery Mobile App

I am looking to make a Mobile App in Dreamweaver and package it using Phonegap

I want to pull data from a MySQL database using JSON however I have searched high and low (mostly using Google) to find a solution to simply output my MySQL data as a JSON String.

I thought that a tutorial would be easy to find, however it appears that lots of people want to know how to do this, but there is limited tutorials out there.

Can somebody please point me to a tutorial to explain how to output MySQL data as JSON using PHP.

Im sure I will be back when I get stuck on the next bit…

Will this help?

http://community.phonegap.com/nitobi/topics/jquery_ajax_call_using_php_will_that_work_with_phonegap?from_gsfn=true