|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-11 15:21 UTC] sniper@php.net
[2005-06-14 10:18 UTC] peter dot bernholt at hec dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 01:00:02 2025 UTC |
Description: ------------ Hi all, I am using PHP with IIS ,Windows XP and SQL Server 2000. The Function mssql_query causes an error, when there is an result of an Select-Statement (not true or false). Update, insert and delete works fine. A select with an empty table is ok, true ("true"). I am not using the "header"-function! Regards, Peter Reproduce code: --------------- $connection=mssql_connect($server,$username,$password); @mssql_select_db($database,$connection) or die( "Unable to select database"); $sqlquery="Select * FROM Tablename"; $result= mssql_query($sqlquery); Expected result: ---------------- The Table contains one row, i would expect to get the result in $result. Actual result: -------------- The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: