How to make html view/template that updates with new data from changed file
I am developing a chat messenger service and am storing messages in a SQL database i have made a similar file checking function like above question. Is there anyway to add the output of this function into the html every time a new change to the database is detected?