You are here: Why is this not stripping the newlines/returns from my HTML text area? « All PHP « IT news, forums, messages
Why is this not stripping the newlines/returns from my HTML text area?

Posted by worzel on 11/18/05 13:45

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.

 

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

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