Bug #51631 [Com]: MySQLi query result depend on browser
| From: | evgpanchenko at gmail dot com | Date: | Tue, 18 May 2010 07:15:33 +0000 |
| Subject: | Bug #51631 [Com]: MySQLi query result depend on browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-150535@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51631&edit=1
ID: 51631
Comment by: evgpanchenko at gmail dot com
Reported by: evgpanchenko at gmail dot com
Summary: MySQLi query result depend on browser
Status: Feedback
Type: Bug
Package: MySQLi related
Operating System: Windows/Linux
PHP Version: 5.3.2
New Comment:
same code, different results.
log to file gave the same result:
12,000000
in Opera and Chrome
12,00
in mozilla and IE
Previous Comments:
------------------------------------------------------------------------
[2010-05-11 12:07:17] andrey@php.net
Please check what the source of the page you are receiving. Is it the
same? If yes, then the browser is the problem.
------------------------------------------------------------------------
[2010-04-22 11:50:22] evgpanchenko at gmail dot com
Description:
------------
I have in MySQL Table with columns price DECIMAL(6,2), issm tinyint, cnt
int
When I run request SELECT IF(issm=1, ROUND(price/cnt, 6), price) AS
price, issm with mysqli i get
12,000000 1
12,000000 0
in Opera and Chrome
but i get
12,000000 1
12,00 0
in mozilla and IE
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51631&edit=1