Dealing with line breaks...
Posted: Thu May 29, 2008 7:34 pm
I know that macs, windows and linux machines all deal with line breaks differently... I think Macs are /r, windows are /n and Linux are /r/n... not sure if I'm 100% right but ti's something like that...
How do you deal with this when creating php code? I'm using the explode function to put line breaks into an array... But it will only work for a certain format. How do I put line breaks into an array and still make it work on all machines?
How do you deal with this when creating php code? I'm using the explode function to put line breaks into an array... But it will only work for a certain format. How do I put line breaks into an array and still make it work on all machines?