The problem seems to be solved.
Some suggestions didn't work, in my application at least, but what I found from
a combination of them was that I can eliminate the problem using a character
entity for the apostrophe. It prints a single quote but does not parse as a
single quote.
$text = (
Sent: Sunday, February 11, 2001 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] my bugaboo.
- Original Message -
From: "Floyd Baker" <[EMAIL PROTECTED]>
>
> Hello and thanks to all for the help on the magic quotes, etc.
> It gives me a better handle on what I'
ore.
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Anna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday,
- Original Message -
From: "Floyd Baker" <[EMAIL PROTECTED]>
>
> Hello and thanks to all for the help on the magic quotes, etc.
> It gives me a better handle on what I'm dealing with.
>
> Except for one more thing.
>
> When I bring back text from a field which contains a ', and try to ap
ECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, February 10, 2001 1:39 PM
Subject: Re: [PHP] my bugaboo.
>
> Hello and thanks to all for the help on the magic quotes, etc.
> It gives me a better handle on what I'm dealing with.
>
> Except for one more thing.
>
>
Hello and thanks to all for the help on the magic quotes, etc.
It gives me a better handle on what I'm dealing with.
Except for one more thing.
When I bring back text from a field which contains a ', and try to apply it as
the value of an input box, it still truncates in the box.
When I si
I had a problem similar to this myself a while ago...
I don't believe the issue is with the differing versions of PHP, but rather
with the improper escaping of the quote characters.
There are two PHP functions:
addslashes() and stripslashes()
Call the former when you submit the information to p
> I have a routine where we input text to fields. When there is an
apostrophe it
> handles it correctly. When the form is brought back for editing, the
field
> values show up in the input fields, with all apostrophes intact, just as
it
> should be.
>
> When I upload this script to my isp, it does
Hi..
I have a routine where we input text to fields. When there is an apostrophe it
handles it correctly. When the form is brought back for editing, the field
values show up in the input fields, with all apostrophes intact, just as it
should be.
When I upload this script to my isp, it doesn
9 matches
Mail list logo