MySQL Forums
Forum List  »  PHP

Re: Call one image by distinct id
Posted by: Claudio Reis
Date: October 14, 2009 11:14AM

I get...:

$result = mysql_query("SELECT DISTINCT fileid, storyid FROM atx33p_stories_files GROUP BY storyid DESC LIMIT 7");

In this case the query make both fileid and storyid distincts.

Options: ReplyQuote


Subject
Written By
Posted
October 14, 2009 06:07AM
Re: Call one image by distinct id
October 14, 2009 11:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.