Re: how can i get rid of newlines?
| From: | David T-G | Date: | Sat, 29 Nov 2003 04:41:21 +0000 |
| Subject: | Re: how can i get rid of newlines? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171322@lists.php.net to get a copy of this message | ||
Marek, et al --
..and then David T-G said...
%
% But str_replace works for you? Interesting...
I mucked about with it again and got it to work as long as I used an
array for $search... I must have had a typo last time. Well, yay; I
can rest easy knowing that I am using the faster function.
Now, believe it or not, I'm trying to put the newlines BACK IN so that my
users don't ever know the difference :-) It works fine so far except
that I have a caching problem, I think, since upon load it's fine but the
load-after-change just shows <br> in the field. But I'm getting close :-)
Thanks again & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!