Sorry for the silly question
'order' => 'rand()',
_
From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com]
Sent: June-09-09 11:57 PM
To: cake-php@googlegroups.com
Subject: Select random records
I am generating "Post by the author"
I am generating "Post by the author" as a side module in the Post View.
Problem is its displaying the same 5 over and over. For testing I added 50
Posts by 1 author but how can I select 5 random posts rather than now where
its displaying the first 5 it finds.
Dave
--~--~-~--~~--