You are here: Re: eregi_replace confusion « All PHP « IT news, forums, messages
Re: eregi_replace confusion

Posted by -Lost on 06/07/06 07:56

I am actually having similar problems.

I have a string:

abc123
def456
ghi789

I tried preg_replace('/\n/', '', $string); and it does not seem to do anything. If
however, I change the replacement to '...' or something, I see that it *does* replace a
newline, but it appears another newline exists...

Any ideas? If I can provide more information let me know.

-Lost

 

Navigation:

[Reply to this 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

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