Hello,

I am having trouble being able to access the extension dlls in Windows 2000
Server, with the newest version of PHP, running IIS, using the CGI binary
file php.exe. The problem I am having is I get a warning telling me that the
dlls cannot be found. I have tried to change the extension_dir link to where
the files reside but I still get the error.

I am trying to run the script:

<?php
$hostname = "66.17.18.92";
$username = "sa";
$password = "proto_solutions!";
$dbName = "Protosolutions";

MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED
TO RESPOND.");
mssql_select_db($dbName) or DIE("Table unavailable");

$query = "SELECT * FROM users";

$result = MSSQL_QUERY($query);

$number = MSSQL_NUM_ROWS($result);

$i=0;

if ($number == 0) :
        print "No data?";
elseif ($number > 0) :
        print "Data:";
        while ($i < $number) :
                $fname = mssql_result($result,$i,"fname");
                print $fname;
                print "";
                $i++;
        endwhile;
endif;

?>


Can you please help me out?

Eric

Eric Brophy
Protosolutions.com
http://www.protosolutions.com
[EMAIL PROTECTED]
209-951-6924




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to