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?
Dealing with line breaks...
Moderator: General Moderators
Re: Dealing with line breaks...
Has no one dealt with this issue before? I didn't think it would be such a hard answer... Anyone have any ideas where I should look to handle this?