Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Model_Crud and where
  • hello, I'm trying to do some more complex where with Model_Crud but can't figure out how to define or in the where array
    something like that 'where' => array(
    'active' => 'yes',
    'OR' => '('
    'banned' => 'no',
    'OR' => ')'
    ), I then looked at using the Closure as there I know how to use that kind of complex where
    but I need a lot of param (like userid, status,... ) to the where and I'm not sure how to pass them to the closure Anybody got any tip for me?
    Thanks a lot

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!