www.webdeveloper.com
Results 1 to 3 of 3

Thread: formating new line and link problem

  1. #1
    Join Date
    Oct 2007
    Posts
    1

    formating new line and link problem

    I was using Cpanel ( Lunix Server ) and it was crashing all the time, I was offered to move to VDeck ( FreeBSD sister of lunix ).
    To make long story short now I have a small bugs and I need your help.

    This is a text of email that my system generates after customer sign up and request services. There is problem in formatting new line and links.
    ==================================================================================================== ==============
    Dear irina,<br />

    <br />
    Thank you for creating an account with Total Care Cleaners. <br />

    You can update your account anytime from the <a href=http://www.totalcarecleaners.com/login_now.php >Login Area</a> <br />

    <br />
    Login ID : 6512281348<br />

    Password : irina<br />

    <br />

    Best Wishes <br />

    <a href=http://www.totalcarecleaners.com>Total Care Cleaners</a> <br />

    Customer Support Team <br />

    ==================================================================================================== ==============

    This is a piece of code from *.php file that generate this email.

    ==================================================================================================== ==============
    $mybody2 = "Dear ".$Fname.",\r\n\n";

    $mybody2 .= "Thank you for creating an account with Total Care Cleaners. \r\n";

    $mybody2 .= "You can update your account anytime from the <a href=http://www.totalcarecleaners.com/login_now.php >Login Area</a> \r\n\n";

    $mybody2 .= "Login ID : ".$Phone. "\r\n";

    $mybody2 .= "Password : ".$Password. "\r\n";

    $mybody2 .= "\r\n";

    $mybody2 .= "Best Wishes \r\n";

    $mybody2 .= "<a href=http://www.totalcarecleaners.com>Total Care Cleaners</a> \r\n";

    $mybody2 .= "Customer Support Team \r\n";

    ==================================================================================================== ==============

    Please tell me what we're doing wrong.

    Thanks

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    What's the problem? Do you not like the line breaks or need font color or something? Your post doesn't define the "bugs."

    KDLA
    FYI
    * My screen resolution is set at 1680x1050
    * I'm accessing your site through a T1 line
    * I'm probably viewing it using Firefox (unless browser is specified)

  3. #3
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    Do you want text/plain or HTML? You have both the carriage turn and newline in the PHP.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles