title: Mongo DB $or query in PHP
body: <p>I can't figure out for the life of my to select from a collection with the <code>or</code> parameter. It's not working at all for me and I can't really find any documentation on it for php.</p>
  
  <p>Here is my example code that doesn't return anything even though they exist in the collection:</p>
  
  <pre><code>$cursor = $products-&gt;find(
      array(
          '$or' =&gt; array(
              "brand" =&gt; "anti-clothes",
              "allSizes" =&gt; "small"
          )
      )
  );
  </code></pre>