Is there any way to call a function 10 seconds after the page load in PHP. (Not using HTML.)
You can create a Javascript timer that calls the function every ten seconds.
Tutorial here
(10 seconds is 10000 milliseconds)