Jump to content

Search


jaymc

Recommended Posts

Right, I'm making a search to query my table and display results

Ive hit a bit of a problem though

Basically, I have a table that my look like the following (in row display form)

[b]1 Jamie Member Hello Yes
2 Jamie Member Hello Yes
3 Kev Member Hello Yes
4 Kev Member Hello Yes[/b]

Now, my query is going to query the table to find all fields that are [b]Yes[/b]. As you can see in that table, each row has a [b]Yes[/b] field

The way I want it displayed, is return the username once if a row has a [b]Yes[/b]

So, the query would return

Jamie
Kev

Thats the problem I have, I can only get it to return:

[b]Jamie
Jamie
Kev
Kev[/b]

So in other words, once it finds [b]Yes[/b] it only echoes the username once regardless of how many rows its in

How?
Link to comment
https://forums.phpfreaks.com/topic/23363-search/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.