Continuous monitoring database with PHP

Thanks for the reply.
I too thought Javascript, but being on the client side can not communicate with the database …