I wonder if anybody can give me some pointers as to how to deal with filtering out duplicated results. I have a setup where I have names and addresses that depending on the query can sometimes return duplicate names and addresses. Is this easy to do? I just can’t think of how to approach this in PHP.
Thanks a mil
Brian
[Solved] Filtering out duplicated results
Moderator: General Moderators
[Solved] Filtering out duplicated results
Last edited by Addos on Fri May 27, 2005 6:40 am, edited 1 time in total.
- harrisonad
- Forum Contributor
- Posts: 288
- Joined: Fri Oct 15, 2004 4:58 am
- Location: Philippines
- Contact:
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Code: Select all
$query = "SELECT distinct something FROM somewhere";
$result = mysql_query($query) or die (mysql_error());