I am planning a website with an html/javascript frontend input and a php backend. The user has to input data which will be saved in a database. Now I want to inform the other users of my site accordingly about the changes made on the database.Is this possible in any way (at this point of planning I cannot say how many people will use this in the end so it has to be a user friendly option).The concept I have is following:I type in a message like Hello then the other user should be informed about the fact that the last word was Hello so that they can add a new word like World. But the fact that some user are faster than others the word will be fastly outdated. So i have to find a solution for that.Any suggestions or is my question unclear?
Handle multiple data writings per second
php;ajax
Your best bet for this if your intended clients have sufficiently modern web browsers is Web Sockets. There are plenty of libraries out there that you can use and can look into. The one I have used most recently for PHP projects is Pusher, but searching for 'PHP websockets' turns up plenty of libraries and code samples you could use.