My problem is solved. Thank you to everyone who responded.
Jason
On Sun, 2003-07-13 at 18:33, David Nicholson wrote:
> Hello,
>
>
> This is a reply to an e-mail that you wrote on Sun, 13 Jul 2003 at 23:12,
> lines prefixed by '>' were originally written by you.
>
> Maybe the browser you are u
Hello,
This is a reply to an e-mail that you wrote on Sun, 13 Jul 2003 at 23:12,
lines prefixed by '>' were originally written by you.
Maybe the browser you are using to fill in the form field is using a
different type of line break. Although I have never seen it done, r by
itself can be used to
It's really strange because I type the following into the form field.
Test
Test
Test
And get this as output.
Test Test Test
Do form fields not preserve spacing or line breaks?
Jason
On Sun, 2003-07-13 at 17:45, David Otton wrote:
> On 13 Jul 2003 17:27:04 -0400, you wrote:
>
> >Perh
On 13 Jul 2003 17:27:04 -0400, you wrote:
>Perhaps. When getting text from a form field, what is substituted for a
>newline (i.e. when someone hits enter).
You can work it out for yourself. Run over the string, displaying each
character as it's ASCII equivalent with ord(). Eg
for ($i =
Perhaps. When getting text from a form field, what is substituted for a
newline (i.e. when someone hits enter).
Jason
On Sun, 2003-07-13 at 17:21, David Otton wrote:
> On 13 Jul 2003 17:01:24 -0400, you wrote:
>
> >I'm trying to replace newlines with something else. For this example
> >I'll us
On 13 Jul 2003 17:01:24 -0400, you wrote:
>I'm trying to replace newlines with something else. For this example
>I'll use as the thing to replace a newline with. This is what I
>tried and it doesn't work.
nl2br() in the specific case
>$article = str_replace("\n", "", $article);
>
>What am I d
Hi,
I'm trying to replace newlines with something else. For this example
I'll use as the thing to replace a newline with. This is what I
tried and it doesn't work.
$article = str_replace("\n", "", $article);
What am I doing wrong? $article is the string to replace the newlines
in. I tried t
7 matches
Mail list logo