Quote:
Originally Posted by jimbona
Doing some searching via google, shows many people are suffering from memory leaks on heavy array use, you can see the changes of the PHP core here
(sorry could not post url)
You may want to provide some sample code so people can advise/test locally what is failing.
Have you tried checking if anything has changed in your PHP setup with a phpinfo.php page with
PHP Code:
<?php phpinfo();?>
inside.
You can also try putting errors on in php.ini or via .htaccess.
When you get a white page straight away it usally means a code error has taken place so seeing the code could route out the problem. Just because you are using similar code else where and it works, doesnt mean this version does. You could have a rogue .,'" etc etc.
|
this is the code:
PHP Code:
while($line = mysql_fetch_array($result, MYSQL_ASSOC)){
$list[] = $line;
}
I figured it was a code error at first, because of the white page. However, as I said, if I throw in an output... it'll give me 1200 lines or so before it stops outputting... .without giving an error. It just ends the while statement and then won't output anything following the loop either.
And my phpinfo() looks the same from what I could see. I tried to keep all my settings the same.