I am using neighbor with
$arrayClickNeighbors = $this->Click->find('neighbors', array('field' => 'user_id', 'value' => 5));
This code work fine, but i want to add one more condition that "Order"=>2
I have try like
$arrayClickNeighbors = $this->Click->find('neighbors', array('field' => 'order', 'value' => 5, 'field'=>'user_id', 'value' => 35));
but this code is not working how can i apply multiples condition with "neighbors"?
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment