note 23300 added to function.mssql-query
| From: | stefan at digiconcept dot net | Date: | Mon, 15 Jul 2002 08:11:14 +0000 |
| Subject: | note 23300 added to function.mssql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33067@lists.php.net to get a copy of this message | ||
hi !
i've seen - so far- some "undocumented" behaviour of the "mssql_query"
function. it returns a php resource on SELECT-statements, but a boolean value with false or true on
manipulation statements like DELETE. i've tried to proof this with the GETTYPE and
GET_RESOUCE_TYPE functions. if somebody else could also proof this, it's ok and the function
returns predictable results one can work with.
Sysconfig is Win98/Apache1.3.22/PHP 4.2.1 and SQL Server 2000 on an another machine.
greetings from austria,
stefan
--
http://www.php.net/manual/en/function.mssql-query.php
http://master.php.net/manage/user-notes.php?action=edit+23300
http://master.php.net/manage/user-notes.php?action=delete+23300
http://master.php.net/manage/user-notes.php?action=reject+23300