php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13540 dbase_get_record_with_names: comma problem
Submitted: 2001-10-04 10:35 UTC Modified: 2001-11-20 11:02 UTC
From: dominic at heydennewmedia dot de Assigned:
Status: Closed Package: dBase related
PHP Version: 4.0.6 OS: WinNT
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: dominic at heydennewmedia dot de
New email:
PHP Version: OS:

 

 [2001-10-04 10:35 UTC] dominic at heydennewmedia dot de
My original dBase contains one field with numbers like 1,5 or 2,5. When I try to get the contents with dbase_get_record_with_names the resulting array contains only the pre-comma-values like 1 or 2. 
Is it a typecast problem ? I think field contents like '1,5' should be converted to string.
Sincerly, Dominic

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-05 12:46 UTC] dominic at heydennewmedia dot de
The original dbase field type is 'N'. 
I think the reason for my problem is line 466 in
PHP Source 'dbase.c' where the type conversion is
executed: 
#466:  case 'N':	/* FALLS THROUGH */

** Dominic
 [2001-10-30 19:17 UTC] sniper@php.net
Please try the latest snapshot build from 
http://www.php4win.com

 [2001-11-20 11:02 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 09:01:28 2025 UTC