php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36450 DECIMAL and TEXT field Crash
Submitted: 2006-02-19 02:01 UTC Modified: 2007-08-20 12:53 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jon at bitsnpcz dot com Assigned: georg (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.1.2 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jon at bitsnpcz dot com
New email:
PHP Version: OS:

 

 [2006-02-19 02:01 UTC] jon at bitsnpcz dot com
Description:
------------
When querying a mysql database through the mysqli connector object, for values from a TEXT field and a DECIMAL(5,2) PHP ceases output.

Reproduce code:
---------------
$query = mysqli_stmt_init($conn);
mysqli_stmt_prepare($query, "SELECT * FROM TBLTEST");
mysqli_stmt_execute($query); //Execute Statement
mysqli_stmt_store_result($query);
mysqli_stmt_close($query);


Expected result:
----------------
Smooth Execution

Actual result:
--------------
output is halted, text is recieved by the browser upto halfway through a block of HTML

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-19 20:46 UTC] georg@php.net
This only happens when you connect to a MySQL 5.0.x database, using a 4.1.x client

possible Solutions:

a) download binaries from http://dev.mysql.com/downloads/connector/php/ 
b) compile php on windows with 5.0.18 headers and libraries

Docs should be updated - assigning bug to myself (or to Ulf Wendel :-)
 [2007-08-20 12:53 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"For connecting to MySQL 5, it is recommended to download binaries from http://dev.mysql.com/downloads/connector/php/."
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 09 06:00:03 2025 UTC