In the top of the loop, before you set the variables from the database
do this.



        $variable = "";

Either will do.

~ Matthew

-----Original Message-----
From: Georgie Casey [mailto:[EMAIL PROTECTED]] 
Sent: Monday, August 19, 2002 10:30 AM

i wrote a function do write a file for me on info taken from a db, and
wrote a script with a for loop going through every row in the db, and
calling the function. so the function is called about 200 times. but i'm
getting weird results, the files are corrupted. its grand when i just go
one at a time. so i'm assuming variable values must have been left set
from the las for loop. so how do i clear ALL variables in the function??


PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to