[SOLVED] Object of class CI_DB_odbc_driver could not be converted to string |
[eluser]souri84[/eluser]
hi guys ! I stop with oci and my OCI_COMMIT_ON_SUCCESS error, I decided to connect to Oracle through ODBC driver. it's more simple ! that's it ! I can to connect to my db. But I have other errors when I want to run a test SQL query. I already seen this threadbut i don't understand........ here is my error log : 1: Code: A PHP Error was encountered 2: Code: A PHP Error was encountered 3: Code: A PHP Error was encountered And it's my model : Code: <?php What is my error ? the line 12 is Code: $identity = $this->$db_oracle->query('SELECT * FROM personne'); Great Thanks !
[eluser]danmontgomery[/eluser]
should be Code: $db_oracle->query(); Code: $this->$db_oracle->query();
|
Welcome Guest, Not a member yet? Register Sign In |