/    Sign up×
Community /Pin to ProfileBookmark

Php Line Breaks

?
Dear all,

Can you help me to put the line breaks for following PHP codes.

echo “<font class=”style1″ color=”#FF0000″ size=”+3″>Still your details have not been enter to the system? See later,once you received e-mails from the Team members.</font>”;
exit;

It should be as follows,

1st line:-Still your details have not been enter to the system?

2nd line:-See later,once you received e-mails from the Team members.

Tks
wasantha

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@MrCoderMar 21.2007 — Your asking about basic HTML, not PHP line breaks.

[code=php]
echo "<font class="style1" color="#FF0000" size="+3">Still your details have not been enter to the system?<br>See later,once you received e-mails from the Team members.</font>";
exit;
[/code]
Copy linkTweet thisAlerts:
@PlainSenseMar 21.2007 — Each <br> is one line, so if you want it to be spaced like in your post add two <br><br>'s behind the period that ends your first sentence.
Copy linkTweet thisAlerts:
@MrCoderMar 21.2007 — Each <br> is one line, so if you want it to be spaced like in your post add two <br><br>'s behind the period that ends your first sentence.[/QUOTE]

Thats wrong, only 1 <br> is needed to achive the above.
Copy linkTweet thisAlerts:
@PlainSenseMar 21.2007 — Perhaps on this forum, but not on a web page. One <br> would be just like a sentence wrapping to the next line. Two <br>'s will deliver the same results as <p></p> tags.

But like you said, this is Php not HTML.
Copy linkTweet thisAlerts:
@wasanthaauthorMar 22.2007 — ?

Dear All,

Thank you all for your replies and comments.

It works well with<br>and <p></p>.

I thought It was a php codes.Sorry for the inconveinece caused.

Once again thank you all your kind help.

Regards,

wasantha
×

Success!

Help @wasantha spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...