Reply to Re: Why is this not stripping the newlines/returns from my HTML text area?

Your name:

Reply:


Posted by J.O. Aho on 11/18/05 13:54

worzel wrote:
> sorry for similar / dupe - thought i confused the issue first time
>
> $string=eregi_replace("\n\r","",$_POST['address']);
>
> Why is this not stripping the newlines/returns from my HTML text area? How
> do i do this - do in jsp easy, asp very easy, but in php it gives me
> headache!
>
> my text are is wrap="soft" (and testing with ie in which this default
> anyway) i cannot see nothing wrong -even when i try str_replace() and other
> methods.
>
>
Can you give a link to your php page, so I can take a look and test to be sure
of what you mean.


//Aho

[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

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