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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -