Hello,
Getting the following exception back when using the insertID() function.
Don't know if i'm using it the wrong way but the following line is used inside my Model.
Getting the following exception back when using the insertID() function.
Quote:Call to undefined method CodeIgniter\Database\MySQLi\Builder::insertID()
Don't know if i'm using it the wrong way but the following line is used inside my Model.
PHP Code:
protected $table = 'Clients';
public function __construct()
{
$this->managers = \Config\Database::connect()->table($this->table);
}