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