Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter and Oracle XE connection help me with a small working example please..
#1

[eluser]manton[/eluser]
Hi..
Please anybody can shed me some light how to have a connection between CI 1.7 and oracle XE. At least to print_r the employees table in HR schema. I have tried many times following the CI database manipulation, doesn't work.

At least you can help me with the following:

1st
the database config.

I already have like this one:
$db['default']['hostname'] = "//127.0.0.1/XE";
$db['default']['username'] = "HR";
$db['default']['password'] = "HR";
$db['default']['database'] = "";
$db['default']['dbdriver'] = "oci8";
is that correct for a localhost?

2nd
example of a model

3rd
example of a controller

that shows print_r the employees table HR database in oracle XE

Thanks in adnvace


Messages In This Thread
CodeIgniter and Oracle XE connection help me with a small working example please.. - by El Forum - 12-08-2008, 10:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB