Já to dělám takhle (píšu zpaměti snad se nepletu)...

Kód:
$text = "První řádek".chr(13).chr(10)."Druhý řádek";