SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    844
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to indent to not affect formatting of plain text emails?

    PHP Code:
    if ($guideMemberNumber) {

    $extraMessage "Don't forget to login with your member number.";} 
    When I indent the above code on my php age, it also indents the text when I send a simple email. Is there a way I can indent my code to keep things organized and NOT have it affect an email that is sent?

    Thanks!
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    SitePoint Wizard wonshikee's Avatar
    Join Date
    Jan 2007
    Posts
    1,223
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You can use single quotes and it won't format it. But it also means you have to manually put in the line breaks/tabs.


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
  •