Bug #13540 Updated: dbase_get_record_with_names: comma problem

From: Date: Wed, 31 Oct 2001 00:17:06 +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-69383@lists.php.net to get a copy of this message
ID: 13540 Updated by: sniper Reported By: dominic@heydennewmedia.de Old Status: Open Status: Feedback Bug Type: dBase related Operating System: WinNT PHP Version: 4.0.6 New Comment: Please try the latest snapshot build from http://www.php4win.com Previous Comments: ------------------------------------------------------------------------ [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 (#69383) next »