Welcome Guest, Not a member yet? Register   Sign In
set sql variable before main query
#2

@ash-f,

Yes, it is possible to set sql variable before other queries. The catch is...not the way you have it in your example. There are a couple of ways that you could do it but you would have to use $this->db->query(). With one of those ways, you could actually do it in one query but again it is using the $this->db-query();
Reply


Messages In This Thread
set sql variable before main query - by ash-f - 02-08-2019, 04:02 PM
RE: set sql variable before main query - by php_rocs - 02-08-2019, 05:46 PM
RE: set sql variable before main query - by ash-f - 02-12-2019, 10:18 PM
RE: set sql variable before main query - by ash-f - 02-12-2019, 10:16 PM
RE: set sql variable before main query - by ash-f - 02-12-2019, 11:33 PM
RE: set sql variable before main query - by ash-f - 02-14-2019, 01:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB