Published on Linux Journal (http://www.linuxjournal.com)
why it is not a defined MSSQL function??? mssql_select_db('[SwitchCenterDB]', $connect);
By ymengel
Created 2008-03-06 09:30

PHP Fatal error: Call to undefined function mssql_select_db()

The source in question:

$connect = odbc_connect("DSNNAME", "miki", "84139") or die ("couldn't connect");
if ($connect) echo 'Great!';
else echo 'Damn';
mssql_select_db('[SwitchCenterDB]', $connect);

__________________________

‹ What is the HID? [1] php script - mssql problem; could you help? › [2]

Source URL: http://www.linuxjournal.com/content/why-it-not-defined-mssql-function-mssqlselectdbswitchcenterdb-connect

Links:
[1] http://www.linuxjournal.com/content/what-hid
[2] http://www.linuxjournal.com/content/php-script-mssql-problem-could-you-help