Reply to Re: Too many line breaks !?

Your name:

Reply:


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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация