|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51631 MySQLi query result depend on browser
Submitted: 2010-04-22 11:50 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: evgpanchenko at gmail dot com Assigned:
Status: No Feedback Package: MySQLi related
PHP Version: 5.3.2 OS: Windows/Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-04-22 11:50 UTC] evgpanchenko at gmail dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-11 12:07 UTC]
-Status: Open +Status: Feedback
 [2010-05-11 12:07 UTC]
Please check what the source of the page you are receiving. Is it the same? If yes, then the browser is the problem.
 [2010-05-18 09:15 UTC] evgpanchenko at gmail dot com
same code, different results.
log to file gave the same result:

in Opera and Chrome

in mozilla and IE
 [2011-01-08 16:53 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 15:01:31 2024 UTC