>fwrite ($fd, join("\n",$users));

file puts each line in a separate element of the array, but it does *NOT*
strip off the \n in doing so.

When you join them back together, *YOU* added an extra \n in the join.

You want join('', $users)

That will join them with no extra characters.

Like Music?  http://l-i-e.com/artists.htm

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to