It's strange problem, I apologize for I really can't explain what kind of problem it is.
I can just say what it happen.
I have a php file, it print the html page, I can't copy whole of my code, it's too long, So I just typo a simple version
<html>
// ... some code
$count = 0;
$query = $mysql->query($sql);
while($row = $mysql->fetch_array($query)) {
// ... some php code
echo "<div id='id{$count}'>.....lots of html code and some php variable </div>" // it is a long html code
echo "<ul id='ul{$count}'> ..... almost the same as above, lost html </ul>"
echo ...
echo ...
// ... some php code
$count++;
}
// ... lots of other code
</html>
Normally, It's not any problem, but this time, it will read about 800 record in the loop, then, it can only load about 80.
I think maybe some error occur, so I try to print something in the loop, then something strange happened.
I add this
var_dump("!@#!@#!@#!@#")
;
Then, I refresh page, now it can load 96 record (I refresh page serval times, always 96)
Then I change it to
var_dump("!@#!@#!@#!@#$$$$$")
;
Now it can load 257 record
after that, I try to change the string that I print, very times I change it, the number of record will change, until I use this:var_dump("!@#!@#!@#!@#!@#!@#!@#!@#", $count);
. whole page could be loaded.