Код: Выделить всё
$this->db
->select("unm")
->from("user")
->where(array("age" => 20))
->result();
Невозможно использовать result(), row() и т. д.
Код: Выделить всё
$rowSet = $this->db
->select("unm")
->from("user")
->where(array("age" => 20));
$rowSet->result();
Неустранимая ошибка: вызов неопределенного метода CI_DB_mysql_driver::result() в C:\xampp\htdocs\ci\application\models\testModel.php в строке 24
Подробнее здесь: https://stackoverflow.com/questions/238 ... r-query-bu
Мобильная версия