title: mysqli get something WHERE
body: <p>So I only want to get items from userSubscriptionLevel WHERE the id is anything but 4 or 6.  What's the best way to give this exclusions?</p>
  
  <pre><code>function getUserLevelMapping() {
      global $mysqli;
  
      $userLevels =  $mysqli-&gt;get('userSubscriptionLevel');
      $userLevelMapping = array();
      foreach($userLevels as $userLevel) {
              $userLevelMapping[$userLevel['code']] = $userLevel['id'] ;
      }
  
      return $userLevelMapping;
  }
  </code></pre>