ohhh... I see. So just replace szLine[0] with szLine[0] == '^n'...
PHP Code:
if( szLine[0] == ';' || !szLine[0] == '^n' ) continue;
or do i need the whole...
PHP Code:
if( szLine[0] == ';' || !szLine[0] || szLine[0] == '^n' ) continue;
and I'm presuming I can remove the 'else' part of the code as well? since continue excludes it from the rest of the loop?
Thanks for the quick response by the way