r/PHPhelp • u/FloppyFluffyEars • Aug 20 '23
How Do I Make "Real Time" Updates?
I'm building an web app and up to this point I've been using mostly PHP in order to achieve this. The problem I'm trying to solve right now may not involve PHP--or a majority PHP, but I'm looking for direction on how to develop this.
THE BASICS:
The webapp is a simple "customer makes orders and then that data is sent to the database" type of process.
THE PROBLEM:
I have the check-out page created, the database created and most of the backend figured out.
So when the customer makes an order on teh check-out page, teh data is sent to the database.
There is going to be a monitor where people are able to see the orders as they are made in real time.
So once the customer presses the " make your order " button I would like that order with all the associated data to appear on the monitor. And I want this to happen without having to refresh the page. How would I be able to accomplish this (in big picture terms)?