For mysql query, which is better for selecting catid?
-
I am writing a little bit of code that fetches certain posts according to some criteria, one of which is category ID#. I’ve seen two different styles for this, so which is better?
a) AND $wpdb->term_taxonomy.term_id = $catid
b) AND $wpdb->term_relationships.term_taxonomy_id = $catidThanks
- The topic ‘For mysql query, which is better for selecting catid?’ is closed to new replies.