Posted by Pete on 01/08/06 16:01
> The problem is your "\n", since $arr2[$i] already seem to contains the > line end > character. Thanks. I guess it reads a "\n" from the file too. It thought "\n" worked as a seperator for the file_lines array: $file_lines = file($filename); Is there any way to read each line in the file into an array without the line break at the end of each line?
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming