note 69677 added to ref.mssql

From: Date: Thu, 14 Sep 2006 21:51:31 +0000
Subject: note 69677 added to ref.mssql
Groups: php.notes 
Request: Send a blank email to php-notes+get-117202@lists.php.net to get a copy of this message
Hello, I've installed Sql Server 2000 on a Windows XP Professional machine. I've configured Apache and PHP as requested for running with SQL : ;extension=php_ming.dll extension=php_mssql.dll ;extension=php_msql.dll I've created an ODBC connector (sqlserver, user : sa pwd ="") When I try following script : <?php $dsn="sqlserver"; $username="sa"; $password=""; $sqlconnect=odbc_connect($dsn,$username,$password); $sqlquery="SELECT companyName FROM Customers;"; $process=odbc_exec($sqlconnect, $sqlquery); while(odbc_fetch_row($process)){ $companyName = odbc_result($process,"companyName"); echo "$companyName<br>"; } odbc_close($sqlconnect); ?> for testins a standard SQL Server table (Northwind), I've no error message and nothing is appening. I had the same problem with MySQL test. Each time I copy necessary file in Windows/System32 or Php/ext directory as it's recommended but I obtain always a white page without error or result. Is somebody can help me about this problem ? Best regards :) ---- Server IP: 66.163.161.117 Probable Submitter: 62.147.171.229 ---- Manual Page -- http://www.php.net/manual/en/ref.mssql.php Edit -- https://master.php.net/note/edit/69677 Del: integrated -- https://master.php.net/note/delete/69677/integrated Del: useless -- https://master.php.net/note/delete/69677/useless Del: bad code -- https://master.php.net/note/delete/69677/bad+code Del: spam -- https://master.php.net/note/delete/69677/spam Del: non-english -- https://master.php.net/note/delete/69677/non-english Del: in docs -- https://master.php.net/note/delete/69677/in+docs Del: other reasons-- https://master.php.net/note/delete/69677 Reject -- https://master.php.net/note/reject/69677 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117202) next »