note 11977 deleted from function.mysql-fetch-array by betz

From: Date: Sat, 10 Aug 2002 16:46:43 +0000
Subject: note 11977 deleted from function.mysql-fetch-array by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34749@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.

« previous php.notes (#34749) next »