Welcome Guest, Not a member yet? Register   Sign In
Help with Binding
#1

I'm not familiar with CI but could someone provide me with a solution of how I would properly bind this query:

$ncCouponQuery = $this->db->query("select c.*,(select count(*) from coupon_analytics CA where CA.CouponID = c.ID ) as AdminCnt from coupon_master c group by c.ID");


Thank you.
Reply


Messages In This Thread
Help with Binding - by Shamunda - 09-12-2017, 09:30 AM
RE: Help with Binding - by php_rocs - 09-12-2017, 08:04 PM
RE: Help with Binding - by ktmonty - 09-13-2017, 03:11 AM
RE: Help with Binding - by Shamunda - 09-13-2017, 08:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB