Support » Fixing WordPress » Select “!=”

  • Hello,

    I would like to know how to write a negative select query:

    $myposts = get_posts('category=3&numberposts=5&offset=0');

    I would actually like to select all posts BUT those who are in category 3. How can I do that?

    Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Select “!=”’ is closed to new replies.