Hi , I'm enrico from Italy and i have found this problem
whith this simple test script:
( I have installed "easyphp 1.2" on a Win2000Professional whith AMD K7 Athlon 700Mhz)
<?php
$dbh = dbmopen("prodotti","c")or die("impossibile aprire il db");
dbminsert ($dbh, "pantaloni", "50.000");
dbminsert ($dbh, "gins", "1.000.000");
dbminsert ($dbh, "magliette", "2.000.000");
dbminsert ($dbh, "scarpe", "3.000.000");
dbminsert ($dbh, "lacci", "500.000");
dbmclose($dbh);
?>
<?php
$dbh = dbmopen("prodotti","c")or die("impossibile aprire il db");
$key = dbmfirstkey($dbh);
while ($key !="")
{
$value = dbmfetch($dbh, $key);
print "<tr><td>$key </td>";
print "<td>$value</td></tr>";
$key=dbmnextkey($dbh,$key);
}dbmclose($dbh);
?>
Why the autput is wrong??
Prodotti Prezzi
pantaloni 0.0004
gins .000.0009
magliette .000.0006
scarpe 3.000.000
lacci 500.000
(this cript on a Cobalt server with linux os work good!!!!)
Thanks a lot....
[PHP-INST] Problem with easyphp and DBM i think .....
VirtualSolution [Virtualsolution.net] Thu, 19 Apr 2001 04:20:23 -0700
