php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1376 return wrong value (with decimal dot) from numeric(7.0) fields
Submitted: 1999-05-04 00:58 UTC Modified: 1999-11-05 03:57 UTC
From: gena at svt dot unity dot net Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.7 OS: linux Redhat 5.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gena at svt dot unity dot net
New email:
PHP Version: OS:

 

 [1999-05-04 00:58 UTC] gena at svt dot unity dot net

$art = sybase_query("SELECT id_article from articles",1); 

$arr_art = sybase_fetch_array($art); 
$data_id=$arr_art[0]; 
} 

$data_id receive value 1.0 not 1, and later, select where id=$data_id don't work. 
This select only work after 
settype($data_id,integer); 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-05 03:57 UTC] thies at cvs dot php dot net
please try lastest CVS
 [2003-02-21 04:17 UTC] c dot villemagne at circo dot fr
I have a same bug but i am in php 4.3.0.

Please help me!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC