Код: Выделить всё
$this->db->get_Where('activation', array('email' => '[email protected]'));
echo $this->db->last_query();
$this->db->get_Where('users', array('email' => '[email protected]'));
echo $this->db->last_query();
< /code>
Первый запрос генерирует < /p>
SELECT * FROM (`activation`) WHERE `email` = '[email protected]'
< /code>
Второй бросает меня для цикла и генерирует < /p>
SELECT * FROM (`activation`, `users`)
WHERE `email` = '[email protected]' AND `email` = '[email protected]'
Подробнее здесь: https://stackoverflow.com/questions/241 ... pts-the-se