• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
insertID()

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

Reply


Messages In This Thread
insertID() - by superior - 11-19-2016, 03:25 PM
RE: insertID() - by ridho - 11-19-2016, 05:19 PM
RE: insertID() - by superior - 11-19-2016, 05:46 PM
RE: insertID() - by ridho - 11-19-2016, 08:03 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.