bradgrafelman;10966311 wrote:Also, do yourself a favor and never use Microsoft Word (or any other word processor) to edit source code (PHP, C++, C#, C flat, ...).
I didn't, just read above again please.
@: its a normal syntax error, since the lines get mixed up completely. its like someone removing 50% of all new-line-whitechars and thus, some lines of code are than at the end of a comment line, like the following:
example: when viewing in notepad++, i see:
<?php
$bla = true;
// comment
if(true)
{
false;
}
echo $foo
and viewed in another editor (the editor which is implemented in flashfxp for example) its displayed as it probably gets interpreted as well:
<?php$bla = true;
// commentif(true)
{ false;}echo $foo
just some new lines-whitechars missingand thus i get syntax errors en masse and also some code isn't executed anymore (the if-block in the example isn't correct anymore). but notepad++ displays it correctly but I don't know how to get the file saved cleanly so that it's also interpreted correctly...