Welcome Guest, Not a member yet? Register   Sign In
instead of write a query for mysql and call the db->query on it, we should use db methods like get where etc. to make it
#2

[eluser]Thorpe Obazee[/eluser]
I don't know about the random function in other dbms, but you could always get 5 results and use order_by with the parameter 'random' in the AR.


Messages In This Thread
instead of write a query for mysql and call the db->query on it, we should use db methods like get where etc. to make it - by El Forum - 06-24-2009, 07:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB