why it is not a defined MSSQL function??? mssql_select_db('[SwitchCenterDB]', $connect);

 in

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);

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Webcast
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot