$suppliers = $this->Supplier->find('all',
array(
'conditions' =>
array('AND',array('supplier_name'=>'narendra',
'supplier_id'
=> $sId)
),
'order' =>
array(
'supplier_id ASC')));
On Wed, May 19, 2010 at 4:02 PM, Jeremy Burns <[email protected]> wrote:
> http://book.cakephp.org/view/1017/Retrieving-Your-Data
>
> Jeremy Burns
> [email protected] <[email protected]>
>
>
> On 19 May 2010, at 11:28, Dilip Godhani wrote:
>
> Hello
>
> How i use Order by with and condition can any one give me one good
> example??
>
> Thanks..!
>
>
> --
> Dilip Godhani
> Jr Software Developer, Entourage Solutions
> e-mail: [email protected]
> [email protected]
> Web.: www.entouragesolutions.com
> m. 9913822582
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php?hl=en
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en