Код: Выделить всё
?< /code> «В предельном параметре запроса SQL.$query = " SELECT * FROM users ORDER BY uid DESC LIMIT ?, ? ";
$bind = array($one, $two)
$query = $this->db->query($query, $bind);
< /code>
Ошибка, которую я получаю, ниже < /p>
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?, ?' at line 1Спасибо
Подробнее здесь: https://stackoverflow.com/questions/513 ... odeigniter
Мобильная версия