Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: coopster & jatar k

Putting in an extra line break

   
4:08 pm on Jun 2, 2008 (gmt 0)

10+ Year Member



How would you make sure that the url is on the last line below, on it's own please ? When someone receives this in their email at the moment, the url is on the same line as the one above ? ?

$ttext = "
Hi,

This is the content of the email.

blah, blah.

Kind regards

blah, blah, blah, blah
blah, blah, blah, blah
http://www.example.com

";

Any help much appreciated.

Dexie.

[edited by: dreamcatcher at 7:07 am (utc) on June 3, 2008]
[edit reason] use example.com. Thanks. [/edit]

5:00 pm on Jun 2, 2008 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



do you generate the email?

if so then you should be able to add the newline or break

5:09 pm on Jun 2, 2008 (gmt 0)

10+ Year Member



The text is already in the form, which I have already preset, but for some reason, I can't get the website address, to be displayed on a line of it's own.
5:47 pm on Jun 2, 2008 (gmt 0)

10+ Year Member



I've tried :

<br />

<br/>

<br>

/n

/r

/n/r

/r/n

None of them worked - anything else to try ?

10:03 pm on Jun 2, 2008 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member



try

\n or \r\n

;)

9:54 am on Jun 3, 2008 (gmt 0)

10+ Year Member



Tried both, but still on the same line ? ?
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month