PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi there i have made a script that will read information from a web page and store the information into a .txt file this is what i get in the .txt file
It depends on your server software. Windows typically uses "\r", *nix "\n". in your replace statement, replace combinations of "\n\r" first, the move on to the individual characters.