Entry
How do u configure mssql+php3+odbc to work with mssql functions like mssql_pconnect ?
Sep 23rd, 2000 20:06
Adrian Kubala, Satish Byrow,
If you're using ODBC you should be using PHP's odbc_* functions.
Understand that ODBC is like a layer between php and a database, which
allows php to use the same set of functions without caring what the
actual database behind ODBC is. The mssql_* functions are for use if
you're connecting directly to MSSQL, without using ODBC.
So, if you wish to connect directly to MSSQL, you should be able to
configure php to use MSSQL simply by uncommenting the appropriate
mssql*.dll line in php.ini.
If you wish to use ODBC, you will have to configure the necessary odbc
bridge/drivers and use the odbc_* functions.