Active Record LIKE on join query |
Thanks for that, mwhitney. I figured it out after I'd posed the question. The trick, as you have done in your sample code is to pass an empty string to the count_all_results function. I couldn't respond immediately as I needed the nod from the moderator before I could edit again.
To anyone else: set up your like and or_like statements. Set up your from and join statements. Use count_all_results with no parameters. Code: $temp = $this->input->post('text', TRUE); |
Messages In This Thread |
Active Record LIKE on join query - by Transistor - 02-15-2015, 01:09 PM
RE: Active Record LIKE on join query - by mwhitney - 02-16-2015, 11:11 AM
RE: Active Record LIKE on join query - by Transistor - 02-17-2015, 03:22 PM
|