Hi,
I have just installed the Apache on a Linux machine, and tried to run the
script that contains a
// connection to the database
$dbhandle= mssql_connect($myServer, $myUser, $myPass)
or die(Couldn't connect to SQL Server on $myServer);
When I try to run the PHP script, it gives me
Alice,
In regards to:
Call to undefined function mssql_connect() in
/home/TDC/Desktop/create_new_entry_master.php on line 20
Do you have the MSSQL extension uncommented in your PHP.ini?
Dan
Hi,
This may sound really stupid, but I installed Fedora and checked on the box
for web development to allow PHP and other web scripts on the platform.
Therefore, I could run PHP scripts fine, and the mentioning of this file, would
you be able to offer me suggestions on where it might be?
AM
To: Wei, Alice J.
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Question on PHP connect MS SQL 2005
Alice,
In regards to:
Call to undefined function mssql_connect() in
/home/TDC/Desktop/create_new_entry_master.php on line 20
Do you have the MSSQL extension uncommented in your PHP.ini?
Dan
I know the package you need is called php-sybase in ubuntu. It's
probably something similar in Fedora. Know that this package will only
let you do a subset of the mssql function calls. If you are just
connecting and doing a normal query, it will suffice. If you need to
do prepared statements for