Let say a sensor is sending data to my php-dashboard via post requests. Is it possible to update them live on my page or do I need javascript for that?
Advertisement
Answer
If you want a live link between anyone looking at your dashboard and mutating data in your database or other data source, php alone is most likely not going to work. Have a look into websockets, though php has an implementation I have yet to encounter one that is production ready.