Jump to:
17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 839 Views |
-
Outputting text

4 September 2008 at 11:10pm
So I have a function which returns some text.
The text has returns in it.
So I call the function through the template and it returns the text.
But..
the text no longer has returns.
Can someone help please!!!
Is this a CSS issue? -
Re: Outputting text

5 September 2008 at 3:44pm
by returns do you mean new lines? if you want new lines you might need to return your text like this
return "this is a string\n with a new line inside it\n"
| 839 Views | ||
|
Page:
1
|
Go to Top |


