When you combine jQuery and MySQL, you can create either an efficient user interface for your subscribers or a UI for your web projects without needing any addition to your code.
As a result of that, when you change a default variable in the testLoad.php file, it will appear on the page automatically without the need of refreshing.
When the page is fully loaded, activate the setInterval function.
The setInterval() method calls and executes a function at specified intervals.
Basically, the load() method loads a file from the given path into the selected HTML element as depicted on the code below.
/* ---------- JS ---------- */
/* ---------- PHP(testLoad.php) ---------- */
echo '<h2 style="text-align:center;color:yellow;">There is no error uploading files!</h1>';