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]
|