Forum Moderators: coopster
$myFile="/home/test/vin.txt";
$myStr="hello user ,how are you?";
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh, $myStr);
when I run the abv script i can see the following in vin.txt file
hello user
,how are you?
The problem is that the string is not written in one line , please suggest me wht to do to write the string in single line.