#21178 [NEW]: Empty string converted to null using bind function

From: Date: Wed, 25 Dec 2002 10:14:42 +0000
Subject: #21178 [NEW]: Empty string converted to null using bind function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28355@lists.php.net to get a copy of this message
From: pvy@novosoft.ru Operating system: windows 2000/sp3 PHP version: 4.2.3 PHP Bug Type: MSSQL related Bug description: Empty string converted to null using bind function 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 bug report at http://bugs.php.net/?id=21178&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21178&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21178&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21178&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21178&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21178&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21178&r=support Expected behavior: http://bugs.php.net/fix.php?id=21178&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21178&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21178&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21178&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21178&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21178&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21178&r=isapi

« previous php.bugs (#28355) next »