Hello I am trying to output string to one line but my program keep outputting in several lines.
here is what i have
$data = mysql_fetch_row($something);
for ($x=0;$x<$c;$x++){
$ToFile.=$data[$x];
$ToFile.=" ";
}
fwrite ($newfile, $ToFile);
outputs of this is like (I am doing some calculation with scientific stuff)
1.09302e-13
4.08995E-11
7.43626E-13
instead of
1.09302E-13 4.08995E-11 7.43626E-13
Is there anything I can fix this problem?