Quantcast
Channel: Topic Tag: database | WordPress.org
Viewing all articles
Browse latest Browse all 11077

xnau on "[Plugin: Participants Database] Dropdown values from specific field"

$
0
0

OK, well if you want to only include approved activities, you need to add that to the query, like this:

'SELECT DISTINCT p.' . $field . ' from ' . Participants_Db::$participants_table . ' p WHERE p.' . $field . ' <> "" AND p.approved = "yes"'

Or something like that...you get the idea.


Viewing all articles
Browse latest Browse all 11077