If you serialize an array containing linefeeds in PHP, you need to str_replace("\r", "") on the way out. Weird. Shortlink: Twitter