Code: PHP
fwrite($filea, "$i,");