PHP and quotes in strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dariusz

    PHP and quotes in strings

    I have a PHP script process text entered in a webpage then emails that text
    to subscribers on a list. Every time I use quote marks, it outputs the text
    \". How do I get rid of this problem (what did I forget)?

    Dariusz
  • Nel

    #2
    Re: PHP and quotes in strings

    "Dariusz" <ng@lycaus.plus YOURSHIT.com> wrote in message
    news:QR8Nc.4735 $Fc7.872342@sto nes.force9.net. ..[color=blue]
    > I have a PHP script process text entered in a webpage then emails that[/color]
    text[color=blue]
    > to subscribers on a list. Every time I use quote marks, it outputs the[/color]
    text[color=blue]
    > \". How do I get rid of this problem (what did I forget)?
    >
    > Dariusz[/color]

    Try stripslashes($t ext);

    Nel.


    Comment

    • Dariusz

      #3
      Re: PHP and quotes in strings

      In article <41051c34$0$674 07$ed2619ec@ptn-nntp-reader02.plus.n et>, "Nel" <nelly@ne14.co. NOSPAMuk> wrote:[color=blue]
      >Try stripslashes($t ext);[/color]

      Thanks Nel, it solved the problem :)

      Dariusz

      Comment

      Working...