SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Oct 2001
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Newsletter Formating Problem - Quickie

    Alright so here it goes, I just sent out a Newsletter to My Subscribers... Here are just like parts of it...
    1) Windows XP PRO + $400 Software & Peripherals $139 Shipped Free
    2) Windows XP Home + Digital Camera + $160 Worth Free Software
    3) 48 CD-R\\\'s & 48 CD Case $4.95
    4) 20 GB 7200 RPM Maxtor Hard Drive $39
    5) $50 Free for Opening a Saving Account
    .....
    You get all that for Only $139 Shipped Free. Follow the Directions Below;

    1. Click or Paste the $60 off $350 Coupon Link in Your Browser

    ==> <a href=\\\" http://www.dealspree.com/j/jump.php?id=99 \\\"> AOL Users Click Here </a>
    ......

    If you haven't figured out my problem....Every time there is a " or a ' I get 3 Slashes \\\ what's that all about.

    I know this is easily fixable by doing somehting, but i do not know what...

    FYI When I sent it out I sent it like this

    ....

    You get all that for Only $139 Shipped Free. Follow the Directions Below;

    1. Click or Paste the $60 off $350 Coupon Link in Your Browser

    ==> <a href=" http://www.dealspree.com/j/jump.php?id=99 "> AOL Users Click Here </a>

    ......

    Thanks in Advance.

    -Roger
    Save Some Money, and Grab some Hot Deals!
    www.DealSpree.com

  2. #2
    SitePoint Addict zoordaan's Avatar
    Join Date
    Feb 2001
    Location
    NYC/Texas
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use the stripslashes function to remove the slashes http://www.php.net/manual/en/function.stripslashes.php

    Or maybe a regular expression, because I think you have more than the normal number of slashes that would escape " or '. I think it's usually one i.e. \"

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2001
    Location
    London
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure what application you are using to send your newsletter that.

    But if you are using php send us your code.
    -- | StEaLThEn |--


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •