How can I use a join to paginate the model? |
Hello everyone,
I've been using ci4 for a long time. I am very pleased. Thank you. If I come to my question. Now I have a model and I'm paginating. But I need to join from other tables. and I want to do this with the model. How can I do ? Code Example : PHP Code: $search_by = $this->request->getget('search_by'); When I activate the //join line on the model, the system gives an error. I haven't been able to solve this issue for a long time. Can you write a full sample code based on the example I gave? Thank you from now. |
Welcome Guest, Not a member yet? Register Sign In |