This topic contains 1 reply, has 2 voices. Last updated by Bruce 3 years, 9 months ago.
| Topic Author | Topic |
|---|---|
| Posted: Tuesday Apr 9th, 2013 at 3:15 am #46877 | |
|
Hello, I want to creat a list of users on my website. I want to get the user id’s in an array by user custom registration fields. I want to use something like this to get the Id’s of a groep of users. $UserIDs = $wpdb->get_col( $wpdb->prepare(“SELECT $wpdb->users.ID FROM $wpdb->users XXXX”) XXXX need to do this: WHERE model_category contains “Fashion” But I can’t figure out how to do this. I;m not that good with SQL Querys. I have also tryed this (but it didn’t work): Can you please help me out? Thank you. Kees Veerman |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy

