That's sort of what my "... you won't need the terminal newline ..." was referring to.
When you have a quoted string that extends over more than one line, you have embedded newlines - these are the ones you typed at the keyboard (not explicit \n characters).
Your original last two lines:
<td>
<table><tr><td><br>\n";
are actually:
<td>{embedded newline}
<table><tr><td><br>\n";
You could have achieved the same output with:
<td>
<table><tr><td><br>
";
which is actually:
<td>{embedded newline}
<table><tr><td><br>{embedded newline}
";
Although I used ellipses, what you see on the screen:
<table ...>
...
};
is actually:
<table ...>{embedded newline}
...{embedded newline}
};
I hope that explains it. If not, please show an example of exact output.
|