Welcome Guest, Not a member yet? Register   Sign In
Random Database Pull
#7

[eluser]Pygon[/eluser]
[quote author="codelearn" date="1205265056"]xwero,

Was that in regards to also having a random set?

Pygon,

It would not work because your still asking for set #1.[/quote]

I don't think so. You're asking for a random set orders, then random question orders in the sets with my query.

EDIT:

ahh sorry -- didn't notice he had where set=1

Code:
$this->db->order_by('set','random')->order_by('id','random')->limit(3)->get();


Messages In This Thread
Random Database Pull - by El Forum - 03-11-2008, 08:01 AM
Random Database Pull - by El Forum - 03-11-2008, 08:15 AM
Random Database Pull - by El Forum - 03-11-2008, 08:19 AM
Random Database Pull - by El Forum - 03-11-2008, 08:28 AM
Random Database Pull - by El Forum - 03-11-2008, 08:49 AM
Random Database Pull - by El Forum - 03-11-2008, 08:50 AM
Random Database Pull - by El Forum - 03-11-2008, 08:52 AM
Random Database Pull - by El Forum - 03-11-2008, 08:56 AM
Random Database Pull - by El Forum - 03-11-2008, 09:06 AM
Random Database Pull - by El Forum - 03-11-2008, 09:09 AM
Random Database Pull - by El Forum - 03-11-2008, 09:31 AM
Random Database Pull - by El Forum - 03-11-2008, 09:42 AM
Random Database Pull - by El Forum - 03-11-2008, 12:21 PM
Random Database Pull - by El Forum - 03-11-2008, 12:32 PM
Random Database Pull - by El Forum - 03-11-2008, 01:16 PM
Random Database Pull - by El Forum - 03-11-2008, 01:45 PM
Random Database Pull - by El Forum - 03-11-2008, 02:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB