Use php to import txt files and how to align import information columns

as shown in the figure, the file information is imported using PHP. How to display the information in the way of alignment? it is not friendly now

clipboard.png

Please give me advice

Mar.13,2021

you can open this directly with excel. The csv format is separated by commas.
moreover, the width of characters is calculated differently in different systems. On the same system, the character widths of different fonts are also different.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf5a9e-54bf3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf5a9e-54bf3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?