t; Do a find first sorted by id desc, then do a straightforward edit.
>
> >>> Something like should get the last row:
>
> >>> $row = $this->Model->find(
> >>> 'first',
> >>> array(
> >>> 'order' =>
;array(
>>> 'order' => array('Model.id DESC')
>>>'recursive' => -1
>>>)
>>> );
>>
>>> Jeremy Burns
>>> jeremybu...@me.com
>>> On 11 May 2010, at
'first',
> > array(
> > 'order' => array('Model.id DESC')
> > 'recursive' => -1
> > )
> > );
>
> > Jeremy Burns
> > jeremybu...@me.com
> > On 11
'first',
>array(
>'order' => array('Model.id DESC')
>'recursive' => -1
>)
> );
>
> Jeremy Burns
> jeremybu...@me.com
> On 11 May 2010, at 12:52, Master Ram wrote:
>
> > hi.. a
gt; -1
)
);
Jeremy Burns
jeremybu...@me.com
On 11 May 2010, at 12:52, Master Ram wrote:
> hi.. all i want edit last row in the table how to do. if possible
> send a sample code..
>
>
> thank
>
> Check out the new CakePHP Questions site http://cakeqs.org and he
hi.. all i want edit last row in the table how to do. if possible
send a sample code..
thank
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
"Ca