I have a Ruby script which is constantly updating a MySQL database. I want to show the "`mysql_num_rows()`" in realtime. So as an entry is entered into the database by the Ruby script I want the PHP script to update its mysql_num_row() count in realtime.
I tried using ``, but I don't think this is the best solution.
Does any one have a better solution?
以上就是How do I do realtime database polling in MySQL/PHP?的详细内容,更多请关注web前端其它相关文章!