View Full Version : "\n" in blacknorm
02-10-2003, 11:26 AM
$TEXT is a text that i want to structure by using esc.seq. "\n" new line
but this has no effect in blacknorm.. the text does not become structured.. how can i type $TEXT , so that the esc.seq. has an effect?
02-10-2003, 12:25 PM
It sounds like your string contents of $TEXT are stored within single quotes, i.e. 'Here is a\ntext'. In single quotes, the newline \n has no effect. Change your single quotes to double quotes to take care of that problem.
02-10-2003, 03:55 PM
hm sorry but it was no matter of single quotes
temp="temp+sArt[sArti]+'Euro \n '";
document.writeln('<input type="hidden" name="Artikel" value="'+temp+'">');
$Artikel = $HTTP_POST_VARS["Artikel"];
<TD class=\"blacknorm\" align=\"left\">$Artikel</TD>
the problem is that the \n has no effect in "blacknorm" ![
3 things to try...
02-10-2003, 07:05 PM
it worx thx man
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.