ID: 9267
User Update by: [EMAIL PROTECTED]
Status: Closed
Old-Bug Type: MySQL related
Bug Type: Feature/Change Request
Description: vars are set to "" instead of NULL
i think this is not an acceptable behaviour. "" could be everything, an empty string,
an integer field with the value null or
ID: 9267
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Old-Bug Type: *Database Functions
Bug Type: MySQL related
Assigned To:
Comments:
This seems due to PHP assuming MySQL's return values are strings, which point it is
converted into an empty sting.
ID: 9267
Updated by: jmoore
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Old-Bug Type: *Database Functions
Bug Type: MySQL related
Assigned To:
Comments:
This seems due to PHP assuming MySQL's return values are strings, which
point it is converted into an empty sting.
1) not mysql, mssql
2. it means that the mssql_result call failed for some reason, because
false was returned, not an empty string.
still, the bug should be closed ;-)
*Cough* I should really get some glasses ;) *cough*
James
--
PHP Development Mailing List http://www.php.net/
To
ID: 9267
Updated by: stas
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Database Functions
Assigned To:
Comments:
Could you provide a short example of a code that reproduces
this?
Previous Comments: