In my program I have an if else statement where I'm trying to see if that line is a skipped line. My text is like this:
fruits
vegetables.
So it has to be able to know to skip to the next line if theres no text in that line.
but it doesn't seem to be reading it. Does anyone know how I can fix this? Also I was wondering if it is reasonable to try to do something like if the character isn't a-z, A-Z, and all symbols.
Thanks
fruits
vegetables.
So it has to be able to know to skip to the next line if theres no text in that line.
Code:
if ($invalidcheck[0]=='\r\n'){
$i++;
}
Thanks
Comment