I'm learning CakePHP and this doubt came to me, if I want to put my limit
so that it has start and long range, what would it be like?
$posts = $this->Post->find('all',
array('conditions' => array(
'post_visible !=' => '0'
),
'limit' => '0,10',
'order' => 'id'
)
);
Currently I have it like that but the limit puts it as 0.
I tried it this way: 'limit' => '0'.','.'10'
.