Edit report at http://bugs.php.net/bug.php?id=51631&edit=1

 ID:                 51631
 Updated by:         ka...@php.net
 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
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[2010-05-18 09:15:32] evgpanchenko at gmail dot com

same code, different results.

log to file gave the same result:



12,000000

in Opera and Chrome



12,00

in mozilla and IE

------------------------------------------------------------------------
[2010-05-11 12:07:17] and...@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

Reply via email to