27.09.2016, 03:02
Of course that's going to happen because you'll have the extra code of
That is basically sitting in your script.
There is something else in your script that is assigned the name of StripNewLine.
If you need more help do a search in your script and post all the aspects of your script that have StripNewLine in them. Include the whole function please.
PHP Code:
new len = strlen(string);
if (string[0]==0) return ;
if ((string[len - 1] == '\n') || (string[len - 1] == '\r'))
{
string[len - 1] = 0;
if (string[0]==0) return ;
if ((string[len - 2] == '\n') || (string[len - 2] == '\r')) string[len - 2] = 0;
}
}
There is something else in your script that is assigned the name of StripNewLine.
If you need more help do a search in your script and post all the aspects of your script that have StripNewLine in them. Include the whole function please.