1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to give space between two words in php mail

Discussion in 'PHP' started by asit.ashmit, Dec 3, 2008.

  1. #1
    HI,

    Can anyone suggest me hoe to give space or tab between two words in php mail.
     
    asit.ashmit, Dec 3, 2008 IP
  2. harrisunderwork

    harrisunderwork Well-Known Member

    Messages:
    1,005
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Use str_replace function .
     
    harrisunderwork, Dec 3, 2008 IP
  3. misbah

    misbah Active Member

    Messages:
    265
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    68
    #3
    try this
    //space
    $your_text = 'hello everybody';
    echo $your_text;
    
    //tabe
    $your_text = "hello[B]\t[/B]everybody";
    echo $your_text;
    PHP:
     
    misbah, Dec 3, 2008 IP
  4. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #4
    I think you should use normal HTML tags

    <B> and </B>

    "&nbsp;" for space..
     
    Freewebspace, Dec 3, 2008 IP