How to implode with carraige return ?
| From: | Manisha | Date: | Fri, 24 May 2002 03:35:29 +0000 |
| Subject: | How to implode with carraige return ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99036@lists.php.net to get a copy of this message | ||
I have 3 elements in an array
$arr[1] = " 1 | Manisha ";
$arr[2] = " 2 | Milind ";
$arr[3] = " 3 | Aish ";
I want to implode it to string first and later on want to write in to txt file.
I tried to implode this chr(13) as a separator. I tried with $arr[1] = "1 | Manisha \n\r" as an array element.
But I do not see new line, instead I see small square box.
Server environment - Unix - PHP4
I see file after ftp to my computer (Win 98)
Thanks in advance
Manisha