
In this French instructional short, the presenter builds on previous lessons about creating AJAX instances and handling asynchronous server requests. He explains that, while the client still receives plain text responses, these responses will now be generated by a PHP CGI script running on the server. Using this approach, he demonstrates how to construct an autocomplete (saisie automatique) feature that pulls suggestions from a database. The tutorial outlines the required project files: autocomplete.html (the front‑end containing the AJAX code that displays results in‑page), contenu.php (the server‑side script that queries the database and returns matching entries), and connexion.php (which holds the PDO connection string for secure database access). The video walks through the flow from AJAX request to PHP‑generated response, illustrating how to integrate client‑side JavaScript with server‑side PHP and PDO to deliver real‑time suggestions.










