Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

find_by model fuelphp

$users = Model_User::find(array(
    'where' => array(
        'active' => 'yes',
        'banned' => 'no',
    ),
    'order_by' => array('id' => 'desc'),
), 'id');
Source by fuelphp.com #
 
PREVIOUS NEXT
Tagged: #model #fuelphp
ADD COMMENT
Topic
Name
4+6 =