PHP Classes

How do I pick a random row using crdb?

Recommend this page to a friend!

      CRDB  >  CRDB package blog  >  Request for feed back  >  All threads  >  How do I pick a random row using crdb?  >  (Un) Subscribe thread alerts  
Subject:How do I pick a random row using crdb?
Summary:Any way of choosing a random row with crdb?
Messages:1
Author:Gilad
Date:2011-09-25 11:19:19
 

  1. How do I pick a random row using crdb?   Reply   Report abuse  
Picture of Gilad Gilad - 2011-09-25 11:19:22
Hi,
I really like this class and use it on some of my code but I can't find how to select a random order of the rows in a select.
I would expect something like table->row->orderby()->random
but can't find it.

Any advice on how I can return the select of rows in a random order?

Thanks!