Well, I've been following a PHP tutorial and everything is fine, but the problem is to write the data in a windows notepad, instead of giving it a new line "\ n", it is putting the data one after the other as if you did not enter, I will post the code and thanks for your help ...
$texto = $date."\t".$tireqty." Pneus \t".$oilqty." Oleo \t "
.$sparkqty." Plugues de velas \t $".$totalamount."\t".$address."\n";
if($arquivo = fopen("carteirainter.txt", 'ab'))
{
fputs($arquivo, $texto."\n");
fclose($arquivo);
}
else
echo "Não foi possivel efetuar a gravaçao.<br>";