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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.