CodeIgniter Forums
Combining multiple queries to get the result - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Combining multiple queries to get the result (/showthread.php?tid=91311)



Combining multiple queries to get the result - charlessoto - 07-19-2024

Hello,
I would like to do some calculations but no success , how to convert this in simple and working query, most important variable is $sale_cost. What I would like to achieve is $sale_cost, I am also selecting $sale_cost in another query

Is there any shortcut to do all calculation in few working queries

Any help is very appreciated!


RE: Combining multiple queries to get the result - JustJohnQ - 07-19-2024

Post some code