Bug #13540 Updated: dbase_get_record_with_names: comma problem

From: Date: Tue, 20 Nov 2001 16:02:17 +0000
Subject: Bug #13540 Updated: dbase_get_record_with_names: comma problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71087@lists.php.net to get a copy of this message
ID: 13540 Updated by: sander Reported By: dominic@heydennewmedia.de Old Status: Feedback Status: Closed Bug Type: dBase related Operating System: WinNT PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-10-30 19:17:05] sniper@php.net Please try the latest snapshot build from http://www.php4win.com ------------------------------------------------------------------------ [2001-10-05 12:46:44] dominic@heydennewmedia.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-04 10:35:07] dominic@heydennewmedia.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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13540&edit=1

« previous php.dev (#71087) next »