Hướng dẫn php printf new line

I need each line of data to print on the next line. How do you do a line break with fprintf()???

echo fprintf($handle, "%-22s %-30s %-30s %-17s %-2s %-9s %-10s",$record_type,$name,$address,$city,$state,$postal,$phone);

asked May 17, 2017 at 18:23

user163169user163169

1252 silver badges9 bronze badges

1