Bug #13540 Updated: dbase_get_record_with_names: comma problem

From: Date: Fri, 05 Oct 2001 16:46:44 +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-67361@lists.php.net to get a copy of this message
ID: 13540 User updated by: dominic@heydennewmedia.de Reported By: dominic@heydennewmedia.de Status: Open Bug Type: dBase related Operating System: WinNT PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#67361) next »