[eluser]Thomas @ BBP[/eluser]
Hi guys !
For my project I need to execute that kind of queries :
Code:
SELECT * FROM (`my_table`) WHERE 1 IN (e_type)
But when I use active records, it seems I can't do that kind of stuff, because that CI active record :
Code:
$this->db->where("$params[type] IN (e_type)");
$query = $this->db->get('my_table');
...makes that query :
Code:
SELECT * FROM (`lm21_events`) WHERE `1` IN (e_type)
And in my case, the ` changes the meaning of my query...
Does anyone got an idea ?
Thanks for your help !