PHP - AJAX and MySQL Previous Next AJAX can be used for interactive communication with a database. AJAX Database Example. Apk Pc Khusus Ngelacak No Hp. The following example will demonstrate how a web page can fetch information from a database with AJAX: Example. Person info will be listed here. Example Explained - The MySQL Database.