How do I use php to fetch data from database using jquery? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How do I use php to fetch data from database using jquery?

I want to fetch data from database using select option tag in jquery... so how do I write the php code when calling it to fetch... For example: $.get(search.php function(response){ }); My question is how do I code for search.php so that the jquery will fetch data from the database... thanks

13th Oct 2020, 12:00 AM
Prince Chukwuma
1 Réponse
0
If you want to use the json approach I prefer you looking at Ajax or React
19th Oct 2020, 12:38 AM
George S Mulbah II
George S Mulbah II - avatar