Re: PHP 4.0 Bug #7583 Updated: odbc_result on integer column returns a float value
| From: | Andy | Date: | Sat, 04 Nov 2000 03:45:20 +0000 |
| Subject: | Re: PHP 4.0 Bug #7583 Updated: odbc_result on integer column returns a float value | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37103@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Bug Database" <php-dev@lists.php.net>
To: <andy@mindgate.net>
Sent: Thursday, November 02, 2000 7:47 PM
Subject: PHP 4.0 Bug #7583 Updated: odbc_result on integer column returns a
float value
> ID: 7583
> Updated by: waldschrott
> Reported By: andy@mindgate.net
> Status: Feedback
> Bug Type: ODBC related
> Assigned To:
> Comments:
>
> Please provide a reduced code fragment (<15 lines) producing
> this behaviour.
>
> don´t mix up things float!=decimal, which database are you on?
>
while (($fetchrowstat=odbc_fetch_row($qryid)) && $counter-->0) {
$subnum=(odbc_result($qryid,"submission_num");
...
'submission_num' is an MS SQL Server 7 integer column of width 4.
ODBC Driver version (accdg to ODBC Data Sources in the Control
Panel) is 3.70.06.23 from Microsoft Corporation. Filename
is SQLSRV32.DLL.