I was wondering if it is possible to live update PHP without AJAX, JS, jQuery and so on, only with clean PHP?
Asked
Active
Viewed 49 times
2
-
4PHP is a server-only language. to update the PHP content on the page, the server has to generate it, and the client will reload the page. Eventually with AJAX you don't have to reload the page. – Jean-Marc Zimmer Nov 12 '18 at 07:26
-
1Okay, then I will need to read up on AJAX. Thanks for the quick answer! – Nicolai Jacobsen Nov 12 '18 at 07:28
1 Answers
2
You can use for real-time transmission in phpn that names: "websockets".
That is like: http://socketo.me/demo
And here is more about the thema: How to create websockets server in PHP

episch
- 388
- 2
- 19