This script converts an entire mysql database into XML using PHP code.
Fetch details from database
Ajax script to fetch details from database, according to the name or id selected from drop down list box. (Create correct database and insert values before you test)
Ajax script to get suggestions from database when user type in an input box. (Create proper database and insert values before you test it)