Short video - Saisie automatique (autocomplete) en AJAX

7 Oct 2022 · 1 min
1:28

In this French-language tutorial, the presenter explains how to build a server‑generated autocomplete feature using PHP CGI scripts and AJAX. The solution consists of three files: autocomplete.html, which contains the AJAX code to send user input to the server and display suggestions; contenu.php, which receives the AJAX request, queries a database for matching records using PDO; and connexion.php, which holds the PDO connection string. The presenter demonstrates a click event on the text input to fetch server responses, then shows how the system continuously monitors the typed string to provide real‑time suggestions from the database. The video emphasizes that the AJAX code mirrors a previous example for extracting plain text responses, and walks through a live browser test to verify the functionality.

Chapters

More from Yamossoun

8:56
youtube.com

Compteur synchrone - Logique séquentielle

2w ago
11:58
youtube.com

Compteur asynchrone et diviseur de fréquence - Logique séquentielle

3w ago
11:37
youtube.com

Les registres (parallèle et à décalage) - Logique séquentielle

1mo ago
6:14
youtube.com

Bascule T (Toggle) - Logique séquentielle

1mo ago
12:05
youtube.com

Bascule JK - Logique séquentielle

1mo ago
9:17
youtube.com

Bascule D flip-flop active sur front montant - Logique séquentielle

1mo ago
10:08
youtube.com

Bascule D Latch - Logique séquentielle

1mo ago
8:13
youtube.com

Bascule RS - Logique séquentielle

1mo ago
5:04
youtube.com

Logique séquentielle - Introduction

2mo ago
1:15
youtube.com

Le codeur - Logique combinatoire #codeur #logique #circuit #booleanlogic

2mo ago
1:56
youtube.com

Algorithme de calcule de la racine carrée par dichotomie #dichotomy #squareroot #algorithm

3mo ago
See all content