javascript - Other users receive messages -


so not error. don't know how this. created chat application html/js/php , storing messages each chat in mysql database. using php script receive messages database every 0.5 seconds , printing them onto chat file. wanted know better way receive message without having reload or wait. maybe kind of notification if person sent message other users of chat receive exact message or socket thing idk. appreciated.

i suggest using websockets. check out - https://github.com/flynsarmy/phpwebsocket-chat


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -