New Zenner
- Join Date:
- Jun 2006
- Posts:
- 25
- Plugin Contributions:
- 0
Text format in PHP? How to add a line break?
Hi all,
I've been trying and trying to add a line break to a line of code....
How do i format a line of PHP to add a line break so i can split a line of text on to the next line... E.G.
This line:define('TEXT_LOGIN_ERROR', 'Error: Sorry, there is no match for that email address and/or password.');
Gives:
Error: Sorry, there is no match for that email address and/or password.
But I want:
Error: Sorry, there is no match for that email address
and/or password.
What should this line look like to do that?
define('TEXT_LOGIN_ERROR', 'Error: Sorry, there is no match for that email address and/or password.');
This is not the text i want to split - Just using it as an example. I have loads of text that needs this sort of formatting.
Cheers :thumbsup: