ID: 21747
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: ODBC related
Operating System: Win 2000
PHP Version: 4.3.0
New Comment:
I think it is a odbc-problem:
<?php
$id = odbc_connect("AccessDSN","","");
print(123/10);
print("<br>");
$id = odbc_connect("PervasiveDSN","","");
print(123/10);
?>
This displays:
12.3
12,3
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 16:13:21] [EMAIL PROTECTED]
This isn't an ODBC issue. ODBC doesn't care how the data is stored, it
just returns it. Your problem lays in the database you're connecting
to. Fix that, and I'm sure you'll find ODBC to be working as expected.
------------------------------------------------------------------------
[2003-01-19 08:41:59] [EMAIL PROTECTED]
After using $id=odbc_connect(...) all calculation (float/double)
results are in German format:
ex. print(123/10); will display 12,3
no further operation is possible.
odbc-driver: pervasive 2000 database
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21747&edit=1