Jump to content
Benben

Php new line to "Large type" output

Recommended Posts

I tried using:

echo 'this<br>and that';

and

echo 'this \n and that';

 

but both when sent to "Large type" output,

output:

this and that (one line).

 

How can i add a line break from php script to "Large Type" output?

Share this post


Link to post
Posted (edited)
2 hours ago, Benben said:

echo 'this \n and that';

 

IIRC, you need to use double quotes in PHP if you want to use \n, so echo "this\nand that";

 

Edited by deanishe

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...