• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating custom 'order_by' string

#1
[eluser]MABUS[/eluser]
Hi,

Is there a way to ORDER BY a specified CASE or IF in CodeIgniter? Right now, I am having to write my entire query in SQL. I'm curious to find out if there is a CI way to do this.

In addition to this, I also want to know if active record class methods is able to handle additional query strings.


Messages In This Thread
Creating custom 'order_by' string - by El Forum - 08-25-2008, 11:35 PM
Creating custom 'order_by' string - by El Forum - 08-26-2008, 12:29 AM
Creating custom 'order_by' string - by El Forum - 08-26-2008, 12:39 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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