/* PASTE YOUR PROVIDED EDUHUB CSS HERE */
PHP COURSE • LESSON 55

PHP AJAX

AJAX allows websites to send requests without refreshing the page.

JavaScript AJAX


fetch("data.php")

.then(response =>

response.text()

)

.then(data => {


console.log(data);


});


Benefits