On Wed, 2002-02-06 at 07:27, Ben Crawford wrote: > You also seem to have an extra equals. Your loop should read: > > while (false != ($file=readdir($handle))){ > > It should come up as an error, but I'm not sure. > > Ben
No, that's the 'identical' operator, which returns true when its operands are both equalivalent and of the same type: http://www.php.net/manual/en/language.operators.comparison.php Cheers, Torben -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php