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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC