#26012 [Opn->Fbk]: mssql_fetch_array
| From: | iliaa@php.net | Date: | Tue, 28 Oct 2003 15:42:07 +0000 |
| Subject: | #26012 [Opn->Fbk]: mssql_fetch_array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49573@lists.php.net to get a copy of this message | ||
ID: 26012
Updated by: iliaa@php.net
Reported By: boccara at netvision dot net dot il
-Status: Open
+Status: Feedback
Bug Type: MSSQL related
Operating System: win2k SBS SP4 & Apache 2.0.47
PHP Version: 4.3.4RC2
New Comment:
Is there a space in the actual SQL data inside the db?
Previous Comments:
------------------------------------------------------------------------
[2003-10-27 17:05:43] boccara at netvision dot net dot il
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 this bug report at http://bugs.php.net/?id=26012&edit=1