How do I get the values from the meta_value
= candidate
field of this table.
I'musingthisquery,butit'sreturninganemptyarray.
$resultados2=$wpdb->get_results("SELECT * FROM $wpdb->usermeta WHERE $wpdb->usermeta.meta_key = 'wp_capabilities' AND $wpdb->usermeta.meta_value = 'candidate';");
print_r($resultados2);
I want to retrieve the candidate
fields.