![]() |
Anyone here use CI with an Informix DB - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Anyone here use CI with an Informix DB (/showthread.php?tid=16049) |
Anyone here use CI with an Informix DB - El Forum - 02-23-2009 [eluser]Unknown[/eluser] just a quick question, has anyone here used CI with an informix DB backend? If so, how did you get it setup? Thanks! Anyone here use CI with an Informix DB - El Forum - 02-23-2009 [eluser]pistolPete[/eluser] I do not use Informix, but I think I can give you some pointers: I assume you have installed the Informix extension. In order to use CI's database abstraction, you have to write an Informix driver for CI. Have a look at ./system/database/drivers/: You have to create at least these two files: informix_driver.php: Code: class CI_DB_informix_driver extends CI_DB { informix_result.php: Code: class CI_DB_informix_result extends CI_DB_result { Now have a look at e.g. the files mysql_result.php and mysql_driver.php and adapt the contained MySQL functions for the corresponding Informix functions. Anyone here use CI with an Informix DB - El Forum - 04-17-2009 [eluser]Unknown[/eluser] Paul, Did you get this working? If you did could you guide me into what needs to be done. Anyone here use CI with an Informix DB - El Forum - 02-15-2011 [eluser]Miguel Quiroz[/eluser] and fixed the problem, I need your help Greetings Anyone here use CI with an Informix DB - El Forum - 10-17-2014 [eluser]Unknown[/eluser] hello, I want to know if anyone has implemented this solution and it worked. If you have an example or some information I can tell here: [email protected]. Thanks in advance. |