- Joined
- Sep 1, 2012
- Messages
- 6
- Reaction score
- 0
Hello. I have a problem with the connection SQL 2005 express + php in windows server 2008.
website hosting on IIS
On the website there is no error but does not display information from SQL.
Are you missing me some files in php.ini? or this a problem with ports?
website hosting on IIS
PHP:
$config = array(
'db_username' => 'sa', // database username
'db_password' => '123456789', // database password
'db_dsn' => 'kal_db', // system DSN to the database
'db_dsn2' => 'kal_auth', // system DSN to the database
'debug' => false, // show SQL errors if true
);
$conn = odbc_connect($config['db_dsn'],
$config['db_username'],
$config['db_password']);
$conn2 = odbc_connect($config['db_dsn2'],
$config['db_username'],
$config['db_password']);
On the website there is no error but does not display information from SQL.
Are you missing me some files in php.ini? or this a problem with ports?

