I want to read line by line but I do not want to deal with newline, I want it to be removed so I only end up with the content of the line.
So right now my function i
http://www.php.net/manual/en/function.file.php
Look at the additional flags you can add to the function call. You should use "FILE_IGNORE_NEW_LINES"