type problem !!

From: Date: Wed, 28 Jul 1999 13:09:55 +0000
Subject: type problem !!
Groups: php.dev 
Request: Send a blank email to php-dev+get-9262@lists.php.net to get a copy of this message
It would be cool if someone could tell me how to extract a float field from database. in fact, after extraction of different fields ... $result=sybase_query(" [SQL QUERY]",$link_id); while ($myrow = sybase_fetch_array($result)) { echo "myrow[0]"; //display ok for char type echo "myrow[1]"; //display ok for int type echo "myrow[2]"; // display not ok with float type !! ..... } i have problem with float type fields only. when i try to display them i get 0 . thank you in advance. -- -- ========================================================= Imad EL AOUNI :) Stagiaire à l'ingénierie des Marchés de la BNP Sous la responsabilité de Monsieur Chazal (Equipe Action) 13, Rue la fayette 75009 Paris Tél. Portable: 0684040151 (Itinéris) 1st E-mail: stage10@bnp-eng.remcomp.com 2nd E-mail: imad.elaouni@informaticien.org =========================================================

« previous php.dev (#9262) next »