Tutorial :How do I continuously pass values from PHP to javascript

Question: I need to update my UI (webpage) periodically with new values. I have PHP code that grabs the values form a database, but I ...