Re: edit last row in the table.

2010-05-13 Thread Mateo San Román
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' =>

Re: edit last row in the table.

2010-05-11 Thread Jeremy Burns
;array( >>> 'order' => array('Model.id DESC') >>>'recursive' => -1 >>>) >>> ); >> >>> Jeremy Burns >>> jeremybu...@me.com >>> On 11 May 2010, at

Re: edit last row in the table.

2010-05-11 Thread Stefano Martins
   'first', > >        array( > >                'order' => array('Model.id DESC') > >                'recursive' => -1 > >        ) > > ); > > > Jeremy Burns > > jeremybu...@me.com > > On 11

Re: edit last row in the table.

2010-05-11 Thread Andrei Mita
'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

Re: edit last row in the table.

2010-05-11 Thread Jeremy Burns
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

edit last row in the table.

2010-05-11 Thread Master Ram
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