I have a mysql database, and I need to get the last entry that was added under a certain topic.
Lets say I have 2 topics, with several entries each..
Topic1,http://www.topic1.net,time added
topic1, <!-- m --><a class="postlink" href="http://www.topic1.com,time">http://www.topic1.com,time</a><!-- m --> added
topic2, <!-- m --><a class="postlink" href="http://www.topic2.net">http://www.topic2.net</a><!-- m -->, time added
topic2, <!-- m --><a class="postlink" href="http://www.topic2.com,time">http://www.topic2.com,time</a><!-- m --> added
I want to only select the newest entry. how do i go about doing this?
Lets say I have 2 topics, with several entries each..
Topic1,http://www.topic1.net,time added
topic1, <!-- m --><a class="postlink" href="http://www.topic1.com,time">http://www.topic1.com,time</a><!-- m --> added
topic2, <!-- m --><a class="postlink" href="http://www.topic2.net">http://www.topic2.net</a><!-- m -->, time added
topic2, <!-- m --><a class="postlink" href="http://www.topic2.com,time">http://www.topic2.com,time</a><!-- m --> added
I want to only select the newest entry. how do i go about doing this?