• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change order of foreach loop?

#3
[eluser]slaction[/eluser]
Here is my code for returning the database info

Code:
$data['query'] = $this->db->get_where('listings', array('isactive' => 1));

I've tried adding order_by() to the end of the code but I get a fatal error.

Any ideas?


Messages In This Thread
Change order of foreach loop? - by El Forum - 09-25-2008, 07:47 PM
Change order of foreach loop? - by El Forum - 09-25-2008, 08:09 PM
Change order of foreach loop? - by El Forum - 09-25-2008, 09:47 PM
Change order of foreach loop? - by El Forum - 09-25-2008, 10:11 PM
Change order of foreach loop? - by El Forum - 09-25-2008, 10:13 PM
Change order of foreach loop? - by El Forum - 09-26-2008, 07:49 AM
Change order of foreach loop? - by El Forum - 09-26-2008, 08:25 AM
Change order of foreach loop? - by El Forum - 09-26-2008, 06:17 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.