Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,912
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
Please use the ‘code’ button to format your code.
Is ‘ar’ your $table_prefix, as defined in wp-config.php ?
If so, then this:
$wpdb->ar_bp_xprofile_data
Should be this:
$wpdb->bp_xprofile_data
also – Why use ‘LIKE’ if you’re looking for exact matches?
value = 'female' is faster.