Is there a way to update PHP within HTML without having to reload the page?

Asked

Viewed 41 times

0

Is there a way to update PHP within HTML without having to reload the HTML page? I have a page that shows the response time of an API but so that the response time can be updated frequently I use the HTML code:

< meta http-equiv="refresh" content="10;url=index.php" />
Is there any way to do this in php ? if you don’t understand the site https://steamgaug.es/ does exactly what I’m trying to explain

PS - I don’t know if this site uses PHP.

  • yes, from a researcher on Ajax

  • You can do this with Ajax, using the Settimeout element

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.