#21178 [Opn->Fbk]: Empty string converted to null using bind function
| From: | fmk@php.net | Date: | Sun, 09 Feb 2003 09:40:38 +0000 |
| Subject: | #21178 [Opn->Fbk]: Empty string converted to null using bind function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32551@lists.php.net to get a copy of this message | ||
ID: 21178
Updated by: fmk@php.net
Reported By: pvy@novosoft.ru
-Status: Open
+Status: Feedback
Bug Type: MSSQL related
Operating System: windows 2000/sp3
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-12-25 04:14:42] pvy@novosoft.ru
Hello!
I use next way for call sp:
$sp=mssql_init("sp");
mssql_bind($sp,"stringdata",'',SQL_VARCHAR);
mssql_execute...
when param 'stringdata' passed to stored procedure, we
got null instead empty string.
I don't specify is_null paramether for mssql_bind function.
by default this paramether is false.
vladimir
Novosibirsk
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21178&edit=1