• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updated ADODB Loader For CI

#4
[eluser]Unknown[/eluser]
I was having some problems with this till I read with calm the code and found the problem. In PHP5 objects are passed by reference so I changed a couple of lines:

From this:
Code:
$this->obj->adodb =& ADONewConnection($dsn);

To this:
Code:
$this->obj->adodb = ADONewConnection($dsn);


And from this:
Code:
$this->obj->db =& $this->obj->adodb;

To this:
Code:
$this->obj->db = $this->obj->adodb;


Messages In This Thread
Updated ADODB Loader For CI - by El Forum - 05-21-2008, 03:06 PM
Updated ADODB Loader For CI - by El Forum - 05-21-2008, 08:45 PM
Updated ADODB Loader For CI - by El Forum - 07-25-2008, 01:26 PM
Updated ADODB Loader For CI - by El Forum - 08-20-2008, 07:55 AM
Updated ADODB Loader For CI - by El Forum - 09-10-2008, 02:10 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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