- changed status to resolved
Select random value
Issue #34
resolved
How we can select 6 values randomlly ?
Comments (2)
-
repo owner -
reporter Sorry, not random digit values, I need to select 6 record from database randomly as your database class like this
$db->select('*')->fom('tblname')->random(6)->fetch();
- Log in to comment
http://php.net/manual/en/function.rand.php