How about: $content="line1\r\nline2" ??