Bug #1376: return wrong value (with decimal dot) from numeric(7.0) fields

From: Date: Tue, 04 May 1999 04:58:32 +0000
Subject: Bug #1376: return wrong value (with decimal dot) from numeric(7.0) fields
Groups: php.dev 
Request: Send a blank email to php-dev+get-5356@lists.php.net to get a copy of this message
From: gena@svt.unity.net Operating system: linux Redhat 5.2 PHP version: 3.0.7 PHP Bug Type: Sybase (dblib) related Bug description: return wrong value (with decimal dot) from numeric(7.0) fields $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); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5356) next »