Ok, I have a forum with many smaller forums inside it. It lists all the different forums with the number of posts, replies, and the last post.
Then you click on the link to open that particular forum. But everytime i delete a post, I have change the last post. I want to do it by getting the biggest 'id' of a particular post.
So we have posts 0,1,2,3,4,5, but I don't know how many posts there are at any given time, so I just want PHP to dynamically select the biggest value from 'id'. 'id' just stores numbers, the id of a post.
How do i select the biggest number out of a field in the database?