hi,
    I'm hari. I've need a help from you.

Pls look by code.

$string="line1\nline\2line3";
$fp=fopen( "somefile", "w");
fwrite( $fp, $string);
fclose( $fp);

Then the file contents will be 

line1\nline\2line3

Instead I'm looking for.

line1
line2
line3

Pls help me on some true program way.
But I did it manually by pressing enter key like
$string="<-'
line1<-'
line2<-'
line3";

But this should't convenient to me

with thanks,
hari.


_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to