"Noel Wade" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When you use $foo = fgets($fp_file); it appears that a blank line ends up
> looking exactly like a FALSE ("failed to read") return value...
A blank line should return the newline (\n or \r\n), according to
http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 =
signs) as the operator, which enforces type checking on a comparison).
- Steve Yates
- If you only have a nail every tool looks like a hammer.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php