Welcome Guest, Not a member yet? Register   Sign In
[Active Record] Order by field

Hi there

I'm using CI 3.1.4 and have a problem with 'order by field'.

$order = sprintf('FIELD(table.column, %s)', implode(', ', $artIDs));

 return $this->db->get();

I'm propably doing something wrong. Can anyone help me? Thanks in advance.

Messages In This Thread
[Active Record] Order by field - by boddah85 - 04-07-2017, 06:46 AM
RE: [Active Record] Order by field - by neuron - 04-07-2017, 07:27 AM

Theme © iAndrew 2016 - Forum software by © MyBB