note 11977 added to function.mysql-fetch-array.php
| From: | webmaster at chickenrpg dot f2s dot com | Date: | Fri, 16 Mar 2001 02:46:00 +0000 |
| Subject: | note 11977 added to function.mysql-fetch-array.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12455@lists.php.net to get a copy of this message | ||
I was having some problems with my script I had debugged it and rewritten it the way it was supposed
to look.
Anyway the server didn't update it and it was telling me I was using a wrong resource. As a
last resort I commented out the query and decided I'd pass it as an argument to
mysql_fetch_array.
BAD IDEA, what ever you do don't do this:
When I tested my script it just kept loading forever...
And it started filling up my windows\temp directory...
Suddenly I had 10 mb of swap left on my c: drive...
I had got almost 400mb of tempfiles, and it had been around 100 before I started running the script.
http://www.php.net/manual/en/function.mysql-fetch-array.php