Re: Why does this script run out of memory?
| From: | Jim Giner | Date: | Fri, 28 Oct 2011 19:24:37 +0000 |
| Subject: | Re: Why does this script run out of memory? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315510@lists.php.net to get a copy of this message | ||
If all you want to do is count the records, why are you not letting sql do
it for you instead of doing the while loop? That's all that script is
doing, if that is the exact code you ran.