ID:               26996
 Updated by:       [EMAIL PROTECTED]
 Reported By:      arion_ at msn dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MSSQL related
 Operating System: Windows XP SP1
 PHP Version:      4.3.4
 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:
------------------------------------------------------------------------

[2004-01-21 12:57:20] arion_ at msn dot com

Description:
------------
If a field is empty it returns one blank space character.

Reproduce code:
---------------
<?php
$host="XXX";
$usuario="User";
$password="Password";
$bbdd="BBDD";
$conexion=mssql_connect("$host","$usuario","$password");

$qry="SELECT  Field
        FROM  dbo.Table";
$handle=mssql_query($qry);
$registro=mssql_fetch_row($handle);
$Nothing=$registro[0];
echo "Just" .$Nothing. "DoIt";
?>

Expected result:
----------------
JustDoIt

Actual result:
--------------
Just DoIt


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


-- 
Edit this bug report at http://bugs.php.net/?id=26996&edit=1

Reply via email to