How to union 2 $this->datatable->select? (codeigniter)

How to union 2 $this->datatable->select? (codeigniter)

axingjiaaxingjia Posts: 2Questions: 1Answers: 0

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?

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    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

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Note, duplicate of this thread

This discussion has been closed.