Skip to Content.
Sympa Menu

freetds - [freetds] Problems getting results from MSSQL

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Quique Luna" <e-luna1 AT ti.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problems getting results from MSSQL
  • Date: Tue, 2 Dec 2003 07:52:44 -0600

Hi,

I have RH 7.0 FreeTDS 0.61, Apache 1.3 and PHP 4.3.

It seems that the installation was OK, I made a small script to test the
connectivity to MSSQL and it worked

<?PHP
$db_conn = mssql_connect("myserver","myuser","mypassword") or die ("Could
not Connect to the Database...");
print "Connected...";

mssql_select_db("db",$db_conn) or die("Could not select database...");
print "Database selected...";

mssql_close($db_conn);
print "Closing...";

?>


It works, but when I add the mssql_query($sql) it seems to be running for an
infinite time... please help!



Archive powered by MHonArc 2.6.24.

Top of Page