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 <meta http-equiv="refresh" content="5">
, but I don't think this is the best solution.
Does any one have a better solution?