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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 23 13:01:29 2024 UTC