Right, just before hand, this is my first time with Sybase, so please be patient with me
I managed to install, create a new database and insert data into Sybase using the Sybase Central Java Edition utility jisql.
But, if i try to connect to the DB using PHP i get the following error messages
Warning: Sybase: Server message: Changed database context to 'master'. (severity 10, procedure N/A) in g:\apache_web\intern\cms\SyDatabase.php on line 61
Warning: Sybase: Server message: Changed database context to 'users'. (severity 10, procedure N/A) in g:\apache_web\intern\cms\SyDatabase.php on line 63
And here's the code affected (using the Eclipse Library)
Does anybody know why i get these error messages?
function connect($username, $password, $type = ECLIPSE_DB_NON_PERSISTENT)
($type == ECLIPSE_DB_PERSISTENT)
? sybase_pconnect($this->getHost(), $username, $password)
: sybase_connect($this->getHost(), $username, $password) //LINE NUMBER 61
sybase_select_db($this->getName(), $this->getLink()); //LINE NUMBER 63
Maybe i did something wrong when creating the database in jisql?
Thanks a lot in advance for ANY help!
Best regards from Vienna,