Skip to content

Instantly share code, notes, and snippets.

@pglewis
Created October 19, 2013 00:10
Show Gist options
  • Save pglewis/7050126 to your computer and use it in GitHub Desktop.
Save pglewis/7050126 to your computer and use it in GitHub Desktop.
$params = array(
'where' => "DATE(enddate) >= CURDATE() AND event_type.name='Training'",
'limit' => 100
);
$Record = pods('event', $params); // find() will automatically be done with a param array supplied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment