After posting dynamic data from a database to a view, is there a way to render the view template again without the dynamic data after a page refresh or something? By default, what happens is that data is added on top of each other in the view whenever I render something new. But I need to display data then remove it, then display something new in the next render. How can I do that? Is there a way to delete HTML tags after they become part of the view template?
After posting dynamic data from a database to a view, is there a way to render the view template again without the dynamic data after a page refresh or something? By default, what happens is that data is added on top of each other in the view whenever I render something new. But I need to display data then remove it, then display something new in the next render. How can I do that? Is there a way to delete HTML tags after they become part of the view template?