On Mon, 29 Apr 2002, Miguel Cruz wrote: > Might want to do this instead: > > while (is_file("{$filename}{$startnum}.txt") > $startnum++;
And perhaps toss in an extra closing paren ) miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php