SOS Problem with database !
| From: | Imad EL AOUNI | Date: | Tue, 27 Jul 1999 14:26:28 +0000 |
| Subject: | SOS Problem with database ! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9222@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]"; //ok for char type
echo "myrow[1]"; // ok for int type
echo
.....
}
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
=========================================================