Forum Moderators: coopster
Now im trying to display the time of the entry, so now i have to select blog_id and entry_time from the blog table. This breaks the DISTINCT and people can appear on the list more then once.
My query is similar to the one below;
$result=mysql_query("SELECT DISTINCT blog_id, entry_time FROM blog_entries ORDER BY entry_id DESC LIMIT 5");
Any idea how i can get both the blog_id as well as the entry_time while keeping the results distinct?