note 63404 rejected from ref.mssql by betz
| From: | betz@php.net | Date: | Wed, 22 Mar 2006 05:16:56 +0000 |
| Subject: | note 63404 rejected from ref.mssql by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106203@lists.php.net to get a copy of this message | ||
Note Submitter: tuannaff at yahoo dot com
----
Here's the source file:
<?php
$cnn = mssql_connect("localhost","sa","") or die("couldn't
connect to server");
$db = mssql_selectDB("loyalty");
$sql = "SELECT ID, Name, Score, Active FROM Gifts";
$dataset = mssql_query($sql,$cnn);
?>
I'd enable :extension=php_mssql.dll, and also copied ntwdblib.dll from c:\winnt\system32 to
c:\php
Here's what i got:
Fatal error: Call to undefined function mssql_connect() in E:\tuanna\workspace\PHP\index.php on line
2
PHP Warning: PHP Startup: Unable to load dynamic library './php_mssql.dll' - The specified
module could not be found. in Unknown on line 0
I'd searched in my computer but there's no such dll. my current php version is the lastest
version, and my SQLserver is 2000 version (ntwdblib.dll version is 8.00.194)
Could anyone tell me how to solve this? thanks