Re: [PHP-DB] quotations in value field

2004-04-15 Thread Mikael Grön
On Apr 14, 2004, at 15:33, Ford, Mike [LSS] wrote: On 14 April 2004 15:21, Mikael Grön wrote: Well, I guess a combination of htmlspecialchars and some other function to convert it back, before it gets sent of in the _plain text mails_. You don't need to convert it back -- that happens

[PHP-DB] quotations in value field

2004-04-14 Thread Mikael Grön
Hey people! I have a problem with an email form of mine. I want the user to be able to preview his message before sending it off to the hundreds of subscribers. Problem is, if there's one or more double quotes () in the subject (for which I use an input text field) it gets f*cked up. Example:

Re: [PHP-DB] quotations in value field

2004-04-14 Thread Mikael Grön
Well, I guess a combination of htmlspecialchars and some other function to convert it back, before it gets sent of in the _plain text mails_. Thanks for the help dude! Mike On Apr 14, 2004, at 15:14, H-Mac Moderator wrote: Mikael- I suspect you want htmlspecialchars, Not stripslashes. See:

RE: [PHP-DB] quotations in value field

2004-04-14 Thread Ford, Mike [LSS]
On 14 April 2004 15:21, Mikael Grön wrote: On Apr 14, 2004, at 15:14, H-Mac Moderator wrote: Mikael- I suspect you want htmlspecialchars, Not stripslashes. See: http://us4.php.net/manual/en/function.htmlspecialchars.php Well, I guess a combination of htmlspecialchars and some other