jquery autocomplete

jquery autocomplete

noobie question, how can i the autocomplete plugin for my database using mysql and php. because i have a form that accepts data and submit it to the database. my problem now is how to emplement autocomplete to my form, by giving out list of data from my database and accept what the user has chosen on the list but not the value but the id of the data in the database. any tutorials or links that can be useful for me? cause i am very new in using jquery and i dont know json yet just mysql and php and html.