DataDoIt
|
Posted: 04/08/2004, 11:53 AM |
|
CCS2; PHP; MySQL
How can I put a line break in a label control?
$Label1->SetValue('This is the first line.\nThis would be the second
line.');
However, the above is taken literally instead of escaping.
|
|
|
DataDoIt
|
Posted: 04/08/2004, 11:57 AM |
|
Ne'er mind. I found it. The trick was to use double-quotes instead of
single-quotes in the SetValue parameter.
$Label1->SetValue("This is the first line.\nThis is the second line.");
"DataDoIt" <mike@datadoit.com> wrote in message
news:c54741$5hr$1@news.codecharge.com...
> CCS2; PHP; MySQL
>
> How can I put a line break in a label control?
>
> $Label1->SetValue('This is the first line.\nThis would be the second
> line.');
>
> However, the above is taken literally instead of escaping.
>
>
|
|
|
|