How to union 2 $this->datatable->select? (codeigniter)
How to union 2 $this->datatable->select? (codeigniter)
![axingjia](https://secure.gravatar.com/avatar/192169f0d2d6c6f4de510e589ace9611/?default=https%3A%2F%2Fvanillicon.com%2F192169f0d2d6c6f4de510e589ace9611_200.png&rating=g&size=120)
I have two datatable->select query and they are basically having the same columns, how to union them(combining them) and then spitting out $this->datatables->generate?
This discussion has been closed.
Answers
Hi @axingjia ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Note, duplicate of this thread