Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14114

insertID()

$
0
0
Hello,

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);


Viewing all articles
Browse latest Browse all 14114


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>