View Single Post
  #5 (permalink)  
Old 12-24-08, 02:09 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
I'd remove the return carriage (\r) from the explode(), 'cause it's not always present. I'd just explode on the \n and then (if you want) trim() each line to remove the possible return carriage character.
Reply With Quote