I have a localhost webpage that occasionally splits out broken HTML midway through the page. This will also happen with images, (although I suspect because they are very large in size 1200x2000px)
But this normally will happen during a database
while ($data=mysql_fetch_contents($arr)) loop.
Has anyone seen this before and what did you do to correct this?
It sounds like the PHP script may be timing out in the middle of execution, that is, run for longer than is allowed.