note 63404 added to ref.mssql

From: Date: Wed, 22 Mar 2006 03:40:14 +0000
Subject: note 63404 added to ref.mssql
Groups: php.notes 
Request: Send a blank email to php-notes+get-106198@lists.php.net to get a copy of this message
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 ---- Server IP: 66.163.161.117 Probable Submitter: 203.160.1.37 (proxied: 203.210.201.114) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.mssql.php Edit -- http://master.php.net/note/edit/63404 Del: integrated -- http://master.php.net/note/delete/63404/integrated Del: useless -- http://master.php.net/note/delete/63404/useless Del: bad code -- http://master.php.net/note/delete/63404/bad+code Del: spam -- http://master.php.net/note/delete/63404/spam Del: non-english -- http://master.php.net/note/delete/63404/non-english Del: in docs -- http://master.php.net/note/delete/63404/in+docs Del: other reasons-- http://master.php.net/note/delete/63404 Reject -- http://master.php.net/note/reject/63404 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106198) next »