MSSQL Functions are not available...

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
Ziddy
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jan 21, 2011 10:05 am

MSSQL Functions are not available...

Post by Ziddy »

Hello,

I am trying to connect to a MSSQL Database located on my server, from my webhosting.

When running the following code, it returns "MSSQL Functions are not available"

Code: Select all

<?php

if (function_exists('mssql_fetch_row')) {
echo "MSSQL functions are available.<br />\n";
} else {
echo "MSSQL functions are not available.<br />\n";
}

?>
How am I able to enable it? Obviously a Microsoft database is not compatible with a Linux system, but I heard there was an extension available to enable MSSQL functions.
User avatar
Edge100x
Founder
Founder
Posts: 13117
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: MSSQL Functions are not available...

Post by Edge100x »

This turned out to be a bit of a nightmare to add, but you should have it now.
Ziddy
New to forums
New to forums
Posts: 2
Joined: Fri Jan 21, 2011 10:05 am

Re: MSSQL Functions are not available...

Post by Ziddy »

That's fantastic, thanks a lot!
Post Reply