Hi,
I compil php4 to user freetds to connect to sybase on a nt server.
I've declare a new service in sybase with 4 database inside.
My problem is:
When i connect to the service using sybase_connect funtion, i'm always connected to the first database declared in my service.
I've tried to change my database connection to my seconde database using sybase_select_db function and the result is good.
but when i try to run a query (select * from FORM_INCIDENT), the error message return is "table 'FORM_INCIDENT' not found".
So i think that sybase select_db does not work properly and that my query still execute on the first database...
Can somebody help me ?
I compil php4 to user freetds to connect to sybase on a nt server.
I've declare a new service in sybase with 4 database inside.
My problem is:
When i connect to the service using sybase_connect funtion, i'm always connected to the first database declared in my service.
I've tried to change my database connection to my seconde database using sybase_select_db function and the result is good.
but when i try to run a query (select * from FORM_INCIDENT), the error message return is "table 'FORM_INCIDENT' not found".
So i think that sybase select_db does not work properly and that my query still execute on the first database...
Can somebody help me ?