Make topic with latest posting appear at the top in forum system [closed]

-4

I have a question about a forum I'm creating from scratch. I have a list of forum topics. When a person comments on such a topic this topic should go up in the listing (stay in first). How can I do this?

    
asked by anonymous 03.04.2016 / 03:15

1 answer

1

When you select in the topics, sort by the last id

SELECT * FROM 'teste' ORDER BY 'id' ASC

I do not understand your question very well, but what I understand is this or the way to your doubt!

    
03.04.2016 / 07:15