[eluser]jdfwarrior[/eluser]
What is the extra tick mark between order by and rand()?
To me... your syntax looks correct.
I just tried a similar query with something I have and it worked. I'm using 1.7.0 on that project too I believe. It may be 1.7.1 though, I don't remember.
Code:
$groups = $this->db->order_by("menugrouporder", "asc")->get("menugroups");
This was the code I used..