Help With Active Record Query |
[eluser]vbnullchar[/eluser]
how to do this in active record: Code: $email = [email protected];
[eluser]pwninja[/eluser]
I could be wrong, but it's unlikely. FIND_IN_SET is a mysql only function. The whole point of active record is that it works across database platforms, so it can't use non-standard features such as this.
[eluser]Armchair Samurai[/eluser]
Best guess: Code: $this->db->select('id, employee_id, email, dept_id, pos_id, comp_id, sup_id, alias');
[eluser]vbnullchar[/eluser]
Got it with the code below.. cheersss! Code: $employees = $this->load->database('employees',TRUE); |
Welcome Guest, Not a member yet? Register Sign In |