A data submission page where users submit data to mysql database;
Another page is responsible for displaying data in real time.
At present I know ajax polling,
Is there any better solution, thank you.
This kind of real-time connection is recommended to use WebSocket, which can be used in case of a solution.Socket.io