|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-22 10:17 UTC] tloudimm at go2 dot pl
[2005-05-22 13:13 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 16:00:02 2025 UTC |
Description: ------------ hi there. i found a bug [well, i think it's a bug, it onced crashed my apache server].. found it in 4.3.10 first, than in 4.3.11 again. anyway, here's some sample code: <? mysql_connect($host,$user,$pass); mysql_select_db(some_db); while($mysql_answer = mysql_fetch_array(mysql_query("SELECT * FROM some_table")) { //do something - there goes a crash } ?> however <? mysql_connect($host,$user,$pass); mysql_select_db(some_db); $mysql_query = mysql_query("SELECT * FROM some_table"); while($mysql_answer = mysql_fetch_array($mysql_query) { //do something - nothing bad happens here } ?> i searched bug database and found nothing like my observations. sorry if i make too much mess - delete my report if so :) greetings.