Skip to content

Instantly share code, notes, and snippets.

@RikkiGibson
Created September 6, 2014 04:07
Show Gist options
  • Save RikkiGibson/64c118597e1a7dadd6e9 to your computer and use it in GitHub Desktop.
Save RikkiGibson/64c118597e1a7dadd6e9 to your computer and use it in GitHub Desktop.
$filter1 = $data
->where(function($row)
{
return $row['price'] > 90 && $row['price'] < 99;
})
->orderByDescending(function($row)
{
return $row['id'];
});
@RikkiGibson
Copy link
Author

I don't even remember what language this is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment