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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Sun Oct 06 07:01:27 2024 UTC