explain more...where are images, which model is used itd

something like this

$images = $this->ImageModel->find('all', array(
  'order' => array(
   'ImageModel.id' => 'DESC'
  ),
  'limit' => 5
));

--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/9/13 Sivaramakrishnan S <[email protected]>

> hi,
>
>  i need to display last five inserted image, anyone can help me to fix
> this problem
>
> --
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to