From:             boccara at netvision dot net dot il
Operating system: win2k SBS SP4  & Apache 2.0.47
PHP version:      4.3.4RC2
PHP Bug Type:     MSSQL related
Bug description:  mssql_fetch_array

Description:
------------
I have upgraded from 4.3.4 RC1
my program works already about 6 month with the latest version of php.

the probleme is that the fetch of an sql query return additonal non
breaking space as result.

this bug is absolutly new, I search in my code hours, and I returned to
the 4.3.4 RC1 and everything is Ok now.
 


Reproduce code:
---------------
Function dbFetch ($iResult, &$tabColonne) {

  $iNbCol = 0; 
  $tabColonne = array();
  switch (SGBD) {
    case "MSSQL":
        $tabColonne = mssql_fetch_array($iResult);
    if($tabColonne)
    {
        $iNbCol = count($tabColonne);
    }
     break;
  }
  return $iNbCol;
}







-- 
Edit bug report at http://bugs.php.net/?id=26012&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26012&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26012&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26012&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26012&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26012&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26012&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26012&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26012&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26012&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26012&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26012&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26012&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26012&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26012&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26012&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26012&r=float

Reply via email to