How can i create synchronized webpage in php, so that if the database changes, it is immediately reflected to whoever is viewing that page in the browser. the database is in mysql, and i am using plain php with no frameworks.
I have a database table to display tour packages, the package can be shared with multiple people, now if any one of them changes anything in the package, like flight booking, this should be immediately reflected to another person viewing that package. i know this can be done with node and react, but is this possible with vanilla js and php? if so how, sorry if i am missing any obvious things.