php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27098 To long
Submitted: 2004-01-30 09:41 UTC Modified: 2004-01-30 10:12 UTC
From: _-_-_U_-_-_ at web dot de Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.5RC1 OS: Win32 XP
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: _-_-_U_-_-_ at web dot de
New email:
PHP Version: OS:

 

 [2004-01-30 09:41 UTC] _-_-_U_-_-_ at web dot de
Description:
------------
Hi.
I don't no if it's a bug, but i didn't found any Manuels or Board-posts, where they can say me, if its a bug or not.

When i paste a mysql_query("SEL........."); in the function mysql_fetch_object, and this function is in a while() sharpens, its an entless sharpens.

Reproduce code:
---------------
<?php
while($row = mysql_fetch_obect(mysql_query("SELECT * FROM `test")) {

/**
* The While() sharpen will never end !
*/

}

?>

Expected result:
----------------
Ouput will never stop.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-30 10:12 UTC] abies@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

try executing the query() only once

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 16:01:33 2025 UTC