PHP & MSSQL. Script Problem, Works on localhost but not online
I have a PHP website running on localhost with MSSQL and it can be accessed through the web with no problems, works fine and everything. BUT when I put the website on the web so it just connects to the MSSQL in my computer and everything else run from the web so it does not take so much bandwidth and resources it gives this error: "Fatal error: Call to undefined function: mssql_connect() in /home/musource/public_html/config.php on line 47".
The config files refers to this line: //Database Connection
$msconnect=mssql_connect("$host","$alogin","$apass ") or die ("<p align='center'>We seem to be having problems with MSSQL Server. <Br>We Should be back shortly.</p>");
$msdb=mssql_select_db("$db",$msconnect) or die("<p align='center'>We seem to be having problems with MSSQL Database.<br>We should be back shortly.</p>");