ID: 9855
Updated by: fmk
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: MSSQL related
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

Update to php4.0.6, and you will find what you are asking for.

The setting mssql.compatability_mode in php.ini can be used to specify how data are 
returned.

mssql.compatability_mode = Off Returns data as php types

mssql.compatability_mode = On Returns all data ass strings.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-20 00:04:07] [EMAIL PROTECTED]

Suggestion:

Add new data retrieval functions (or extend mssql_fetch_array and mssql_fetch_row) to 
return each column in a type that matches the underlying database column type instead 
of the always as type string.  Also, return columns that are NULL as PHP's null type 
(instead of boolean/false).

Two questions - is this the proper place to submit suggestions, and if so should this 
also be submitted to the general 'database functions' category (I know PHP's ODBC 
functions exhibit the same behavior)?


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9855&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to